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

Regression 1.4.9-beta-3, build error #73

Closed
MatthiasKunnen opened this issue Aug 7, 2018 · 2 comments
Closed

Regression 1.4.9-beta-3, build error #73

MatthiasKunnen opened this issue Aug 7, 2018 · 2 comments

Comments

@MatthiasKunnen
Copy link

I can't build 1.4.9-beta-3 for production, ng build --aot --prod. It works using 1.4.9-beta-2.
Error:

ERROR in ./node_modules/@ngu/carousel/carousel.ngfactory.js
Module not found: Error: Can't resolve 'carousel' in '/opt/atlassian/pipelines/agent/build/node_modules/@ngu/carousel'
ERROR in ./src/app/app.module.ngfactory.js
Module not found: Error: Can't resolve 'carousel' in '/opt/atlassian/pipelines/agent/build/src/app'
ERROR in ./src/app/object.component.ngfactory.js
Module not found: Error: Can't resolve 'carousel' in '/opt/atlassian/pipelines/agent/build/src/app/object'

Side note: 1.4.9-beta-3 is not pushed to GitHub, only published to npm. The commits and tags are missing.

@MatthiasKunnen MatthiasKunnen changed the title Regression 1.4.9-beta-3 Regression 1.4.9-beta-3, build error Aug 7, 2018
@sheikalthaf
Copy link
Collaborator

sheikalthaf commented Aug 13, 2018

@MatthiasKunnen Hi,

I'm also tracking this issue. Don't know how to solve it. This issue is related to angular library package.

I need someone help to solve this issue.
I have updated the this repo with this issue.
Please clone it. And run these cmd:

yarn
ng build --prod --project carousel
ng serve --aot

Then you will hit the error

Thanks

@sheikalthaf
Copy link
Collaborator

@MatthiasKunnen This issue is fixed by upgrading to latest version carousel and angular. Thanks

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

No branches or pull requests

2 participants