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

‘register.component.ts depends on 'ng2-validation-manager'. CommonJS or AMD dependencies can cause optimization bailouts.’ #117

Open
Rumperuu opened this issue Nov 1, 2020 · 1 comment · May be fixed by #124

Comments

@Rumperuu
Copy link
Contributor

Rumperuu commented Nov 1, 2020

Full Warning

WARNING in [...]/src/app/auth/register.component.ts depends on 'ng2-validation-manager'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Steps to Replicate

  • Run command npm start
@Rumperuu Rumperuu added this to the Beta Release milestone Nov 1, 2020
@Rumperuu Rumperuu added this to To do in LocalSpend Web App. via automation Nov 1, 2020
@Rumperuu
Copy link
Contributor Author

Rumperuu commented Nov 1, 2020

ng2-validation-manager is dead (last release 3 years go): https://www.npmjs.com/package/ng2-validation-manager2

Temporary fix: Add ng2-validation manager to the list of allowedCommonJsDependencies in angular.json (PR #118)

Proper fix: Package needs replacing

@Rumperuu Rumperuu mentioned this issue Nov 1, 2020
@Rumperuu Rumperuu linked a pull request Nov 1, 2020 that will close this issue
@Rumperuu Rumperuu linked a pull request Dec 10, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
1 participant