-
Notifications
You must be signed in to change notification settings - Fork 25
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
angular5 报错 #27
Comments
看到答案了:#22 (comment) |
在build 的时候还是会报这个错误,在ng上面,按照 #22 (comment) 中的操作还是不能 ng build --prod --build-optimize 成功 |
稍等,周末更新angular5的新版本 |
已发布新版本,请更新 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module build failed: Error: /node_modules/echarts-ng2/src/component/echarts-ng2.component.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/@ngtools/webpack/src/angular_compiler_plugin.js:653:23)
at plugin.done.then (/Users/petter/Documents/workspace/dianrong/people-ui/node_modules/@ngtools/webpack/src/loader.js:467:39)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./node_modules/echarts-ng2/src/index.js 6:9-53
@ ./src/app/routes/customer/customer.module.ts
@ ./src/$$_lazy_route_resource lazy
@ ./node_modules/@angular/core/esm5/core.js
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
The text was updated successfully, but these errors were encountered: