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

Tracking: Warnings on console from npm install #3889

Closed
hansl opened this issue Jan 6, 2017 · 7 comments
Closed

Tracking: Warnings on console from npm install #3889

hansl opened this issue Jan 6, 2017 · 7 comments
Assignees

Comments

@hansl
Copy link
Contributor

hansl commented Jan 6, 2017

We should not have warnings on the command line when people create a new project and npm install.

@Brocco
Copy link
Contributor

Brocco commented Jan 22, 2017

Current status of dependencies (as of version 1.0.0-beta.26)

npm WARN deprecated minimatch (2 causes)

  • karma-remap-istanbul causes a warning of a deprecated version of minimatch
    This is caused by an older version of karma-remap-istanbul and by remap-istanbul (a sub-dependency) using an older version of istanbul as well. Updating the CLI project's version of karma-remap-istanbul to v0.4.0 fixes the first dependency issue. To fix the other an update of istanbul within remap-istanbul would be needed.

  • protractor causes a warning of a deprecated version of minimatch
    This is caused by jamine's reference to an older version of glob. This has been corrected in jasmine in version 2.5.1 (current version is 2.5.3).
    To make this correction the version of jasmine will need bumped in both protractor and jasminewd

npm WARN prefer global node-gyp

node-sass has node-gyp as a local dependency while it prefers to be a global dependency (code here)

@hansl
Copy link
Contributor Author

hansl commented Jan 22, 2017

@Brocco If we update protractor to 5, would that work?

@Brocco
Copy link
Contributor

Brocco commented Jan 22, 2017

@hansl unfortunately not, both protractor and jasminewd have their versions of jasmine pinned to v2.4.1, even in release v5.0.0

The good news is that there are no documented breaking changes in jasmine between v2.4.1 and v2.5.3 so the upgrades should be seemless

@Brocco
Copy link
Contributor

Brocco commented Feb 9, 2017

There is a remaining warning about a package that prefers to be installed globally (node-gyp)

npm WARN prefer global [email protected] should be installed with -g

This is a dependency of of node-sass.

@osnoser1
Copy link

#4575 [beta.31] npm WARN at installation in global

@Brocco
Copy link
Contributor

Brocco commented Feb 21, 2017

At this point the only warning on installation (global or local) is when installing within a project there is a warning that node-gyp prefers to be installed globally, this is a dependency of node-sass.

@Brocco Brocco closed this as completed Mar 7, 2017
asnowwolf pushed a commit to asnowwolf/angular-cli that referenced this issue Apr 12, 2017
@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 Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants