Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

When performing a build in Angular 6, compiler complains about not finding a module #65

Closed
hunt3ri opened this issue May 18, 2018 · 3 comments

Comments

@hunt3ri
Copy link

hunt3ri commented May 18, 2018

When I perform an ng-build with the --prod flag under Angular 6 I see the following error. It seems to be related to this issue. Version is 7.2

Github link

ng build project --prod

ERROR in src/app/admin/customers/customer-details/customer-details.component.ts(7,29): error TS2307: Cannot find module 'angular-pipes/src/array/order-by.pipe'.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mapcloud-portal@0.0.0 dist-mc: ng build mapcloud --prod --output-path ../server/portal/web/static/dist/en
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mapcloud-portal@0.0.0 dist-mc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\iain.hunter\AppData\Roaming\npm-cache_logs\2018-05-18T16_42_31_181Z-debug.log

@hunt3ri hunt3ri changed the title When performing a build in Angular 6, compiler complains about angular-pipes badly packaged TS files When performing a build in Angular 6, compiler complains about angular-pipes 7.2 badly packaged TS files May 18, 2018
@hunt3ri hunt3ri changed the title When performing a build in Angular 6, compiler complains about angular-pipes 7.2 badly packaged TS files When performing a build in Angular 6, compiler complains about not finding a module May 18, 2018
@fknop
Copy link
Owner

fknop commented May 18, 2018

There was a rc version 8.0.0 for Angular 6. I'm going to publish final 8.0.0 right now.

@fknop
Copy link
Owner

fknop commented May 18, 2018

Version 8.0.0 has been published, it should work now.

@hunt3ri
Copy link
Author

hunt3ri commented May 19, 2018

Hi thanks, for the super quick response. I just tried building now, and it's all compiling again 💯

@fknop fknop closed this as completed May 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants