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

Won't compile without -aot #43

Open
newalopez opened this issue Mar 13, 2018 · 0 comments
Open

Won't compile without -aot #43

newalopez opened this issue Mar 13, 2018 · 0 comments

Comments

@newalopez
Copy link

package.json:
"ngx-daterangepicker": "^0.7.0",

After some updates, now I have a new error:
Angular CLI: 1.7.3
Node: 7.4.0
OS: linux x64
Angular: 5.2.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

ERROR in ./node_modules/ngx-daterangepicker/src/ngx-daterangepicker/index.ts
Module build failed: Error: node_modules/ngx-daterangepicker/src/ngx-daterangepicker/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 (node_modules//src/angular_compiler_plugin.js:674:23)
at plugin.done.then (node_modules//src/loader.js:467:39)
at process._tickCallback (internal/process/next_tick.js:103:7)

@newalopez newalopez changed the title Won't compile without -aoe Won't compile without -aot Mar 13, 2018
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

1 participant