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

addPackageJsonDependency / NodeDependencyType don't work #19

Open
gtamas opened this issue Dec 31, 2019 · 1 comment
Open

addPackageJsonDependency / NodeDependencyType don't work #19

gtamas opened this issue Dec 31, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@gtamas
Copy link

gtamas commented Dec 31, 2019

If I try to call this function or use the mentioned type, I get this error:

Cannot find module 'chalk'
Error: Cannot find module 'chalk'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15)

Even if the function doesn't get called but it's part of the code, I'm getting the same error. It only works if I comment the function call.

I tried
npm cache verify
npm ci
npm i chalk

No change. Is this a bug? It seems the error is generated by @angular/cdk/schematics/ng-update/upgrade-rules/class-inheritance-rule.js:10:17

Is it possible to fix this?

@nitayneeman nitayneeman added the bug Something isn't working label Jan 4, 2020
@nitayneeman
Copy link
Owner

The latest version ditches @angular/cdk in favor of copying the specific original code internally.
Would you like to check if now, with v2.0.1, the issue still happens?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants