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

npm outdated does not seem to check devDependecies like it used to #1448

Closed
dmytro-gokun opened this issue Jun 22, 2020 · 7 comments
Closed
Labels
Release 6.x work is associated with a specific npm 6 release

Comments

@dmytro-gokun
Copy link

npm -v
6.4.14

node -v
v12.18.0

@shadowspawn
Copy link
Contributor

What are you seeing that has changed? It is working for me with npm 6.14.5.

You could try updating npm with

npm install -g npm@latest 

@dmytro-gokun
Copy link
Author

Nope, updating to 6.14.5 would not help. And, funny enough, "npm -g outdated" would not tell me there were 6.14.5 available at all. That's all is weird. I guess i need to try reinstalling node/npm.

@ljharb
Copy link
Contributor

ljharb commented Jun 22, 2020

@dmytro-gokun any chance ~/.npmrc, or env, has something that might be setting --only=production or similar?

@shadowspawn
Copy link
Contributor

Check for only like:

$ npm config get only                                                                                                                                                 develop
null

And if it is set, to see where it came from:

npm config list  

@dmytro-gokun
Copy link
Author

dmytro-gokun commented Jun 23, 2020

Nope. It's "null" and it's not listed. Furthermore, using flag "--dev" or even setting only="production" does not help at all. I observe this on two PCs running the latest Windows 10, node & npm.

@ljharb
Copy link
Contributor

ljharb commented Jun 23, 2020

What about other config values? env vars?

@darcyclarke darcyclarke added the Release 6.x work is associated with a specific npm 6 release label Oct 30, 2020
@darcyclarke
Copy link
Contributor

npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.

If your bug is preproducible on v7, please re-file this issue using our new issue template.

If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo

Closing: This is an automated message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release 6.x work is associated with a specific npm 6 release
Projects
None yet
Development

No branches or pull requests

4 participants