Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library packaging issue #24

Open
joshstallnick opened this issue Feb 15, 2018 · 1 comment
Open

Library packaging issue #24

joshstallnick opened this issue Feb 15, 2018 · 1 comment

Comments

@joshstallnick
Copy link

When importing module after installing I get the following error. I have tried many work arounds to no avail. I will have to look for a different option.

potential fix/best practice: angular/angular-cli#8284 (comment)

./node_modules/angular2-tooltip/index.ts
Module build failed: Error: C:\Users\main\IdeaProjects\angular-practice\angular-project\node_modules\angular2-tooltip\index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
at AngularCompilerPlugin.getCompiledFile (C:\Users\main\IdeaProjects\angular-practice\angular-project\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:656:23)
at plugin.done.then (C:\Users\main\IdeaProjects\angular-practice\angular-project\node_modules@ngtools\webpack\src\loader.js:467:39)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./src/app/app.module.ts 44:25-52
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts`

@crjavier
Copy link

so is it not fixed yet? i'm having problems with that same issue too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants