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

ng add shows a lot of spam from the package manager #16027

Closed
filipesilva opened this issue Nov 1, 2019 · 1 comment · Fixed by #16041
Closed

ng add shows a lot of spam from the package manager #16027

filipesilva opened this issue Nov 1, 2019 · 1 comment · Fixed by #16041

Comments

@filipesilva
Copy link
Contributor

This issue impacts 9.0.0-rc.0 and happened while updating https://github.com/SAP/cloud-commerce-spartacus-storefront.

Using ng add will show install related messages that can amount to many lines of text.

kamik@RED-X1C6 MINGW64 /d/sandbox/cloud-commerce-spartacus-storefront (update-9)
$ ng add @angular/localize
Installing packages for tooling via yarn.
warning Pattern ["colors@latest"] is trying to unpack in the same destination "C:\\Users\\kamik\\AppData\\Local\\Yarn\\Cache\\v4\\npm-colors-1.3.3-39e005d546afe01e01f9c4ca8fa50f686a01205d\\node_modules\\colors" as pattern ["colors@^1.3.3","colors@^1.1.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["object-assign@latest"] is trying to unpack in the same destination "C:\\Users\\kamik\\AppData\\Local\\Yarn\\Cache\\v4\\npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863\\node_modules\\object-assign" as pattern ["object-assign@^4.1.1","object-assign@^4.1.0","object-assign@^4","object-assign@^4.0.1","object-assign@^4.1.0","object-assign@^4.1.1","object-assign@^4.0.1","object-assign@^4.1.1","object-assign@^4.0.1"]. This could result in non-deterministic behavior, skipping.
warning @angular-devkit/build-angular@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/architect@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/build-optimizer@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/build-webpack@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/core@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @ngtools/webpack@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/build-ng-packagr@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular/cli@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/schematics@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @schematics/angular@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @schematics/update@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning " > @ng-bootstrap/ng-bootstrap@5.1.0" has incorrect peer dependency "@angular/common@^8.0.0".
warning " > @ng-bootstrap/ng-bootstrap@5.1.0" has incorrect peer dependency "@angular/core@^8.0.0".
warning " > @ng-bootstrap/ng-bootstrap@5.1.0" has incorrect peer dependency "@angular/forms@^8.0.0".
warning " > @ng-select/ng-select@3.0.7" has incorrect peer dependency "@angular/common@>=8.0.0 <9.0.0".
warning " > @ng-select/ng-select@3.0.7" has incorrect peer dependency "@angular/core@>=8.0.0 <9.0.0".
warning " > @ng-select/ng-select@3.0.7" has incorrect peer dependency "@angular/forms@>=8.0.0 <9.0.0".
warning " > @ngrx/effects@8.3.0" has incorrect peer dependency "@angular/core@^8.0.0".
warning " > @ngrx/router-store@8.3.0" has incorrect peer dependency "@angular/common@^8.0.0".
warning " > @ngrx/router-store@8.3.0" has incorrect peer dependency "@angular/core@^8.0.0".
warning " > @ngrx/router-store@8.3.0" has incorrect peer dependency "@angular/router@^8.0.0".
warning " > @ngrx/store@8.3.0" has incorrect peer dependency "@angular/core@^8.0.0".
warning " > @nguniversal/express-engine@8.1.1" has incorrect peer dependency "@angular/common@^8.0.0".
warning " > @nguniversal/express-engine@8.1.1" has incorrect peer dependency "@angular/core@^8.0.0".
warning " > @nguniversal/express-engine@8.1.1" has incorrect peer dependency "@angular/platform-server@^8.0.0".
warning " > @nguniversal/express-engine@8.1.1" has unmet peer dependency "express@^4.15.2".
warning " > @nguniversal/module-map-ngfactory-loader@8.1.1" has incorrect peer dependency "@angular/common@^8.0.0".
warning " > @nguniversal/module-map-ngfactory-loader@8.1.1" has incorrect peer dependency "@angular/core@^8.0.0".
warning " > @nguniversal/module-map-ngfactory-loader@8.1.1" has incorrect peer dependency "@angular/platform-server@^8.0.0".
warning " > bootstrap@4.3.1" has unmet peer dependency "jquery@1.9.1 - 3".
warning " > bootstrap@4.3.1" has unmet peer dependency "popper.js@^1.14.7".
warning " > webpack-cli@3.3.7" has unmet peer dependency "webpack@4.x.x".
Compiling @angular/service-worker/config : es2015 as esm2015
Compiling @angular/animations : es2015 as esm2015
Compiling @angular/compiler/testing : es2015 as esm2015
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/animations/browser : es2015 as esm2015
Compiling @nguniversal/module-map-ngfactory-loader : es2015 as esm2015
Compiling @ngrx/store : es2015 as esm2015
Compiling ngx-infinite-scroll : es2015 as esm2015
Compiling @angular/core/testing : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @nguniversal/express-engine/tokens : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/common/testing : es2015 as esm2015
Compiling @angular/animations/browser/testing : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @ngrx/effects : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling @angular/platform-browser/testing : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/common/http/testing : es2015 as esm2015
Compiling @angular/router/testing : es2015 as esm2015
Compiling @angular/service-worker : es2015 as esm2015
Compiling @ngrx/effects/testing : es2015 as esm2015
Compiling @ngrx/router-store : es2015 as esm2015
Compiling @ngrx/store/testing : es2015 as esm2015
Compiling @ng-bootstrap/ng-bootstrap : es2015 as esm2015
Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015
Compiling @ng-select/ng-select : es2015 as esm2015
Compiling @angular/platform-server : es2015 as esm2015
Compiling @ngrx/store-devtools : es2015 as esm2015
Compiling @angular/platform-server/testing : es2015 as esm2015
Compiling @nguniversal/express-engine : es2015 as esm2015
Installed packages for tooling via yarn.
The package that you are trying to add does not support schematics. You can try using a different version of the package or contact the package author to add ng-add support.

We should instead hide this output.

@filipesilva filipesilva added this to the 9.0.x milestone Nov 1, 2019
clydin added a commit to clydin/angular-cli that referenced this issue Nov 2, 2019
clydin added a commit to clydin/angular-cli that referenced this issue Nov 5, 2019
clydin added a commit to clydin/angular-cli that referenced this issue Nov 20, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant