-
-
Notifications
You must be signed in to change notification settings - Fork 302
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 version is failing and I have the lastest #418
Comments
I am experiencing the same issue using |
I couldn't reproduce this locally on my machine (using Node v10.12.0, npm v6.9.0 and np v5.0.2). |
|
@amejiarosario Sorry, I meant |
|
@amejiarosario I have no idea why you're experiencing this issue 😕 |
Possibly silly question, but: (Used to have similar problems with version checks with older versions of |
I installed Node using asdf nodejs and updated npm using |
If I were you and wanted to debug this, I would find my local installation of Lines 86 to 92 in 71880f9
might tell you something. |
I tried but console.log were not printed on the stdout. Not sure if they are being redirected. I just commented out line 90 and everything worked :) But, it's annoying, every time I update this package I'd have to comment out the |
Oh right, that list runner thing probably. Then I would add it to the error that is thrown ;) |
Also: console.log('version satisfies, version(npmVersion).satisfies('<6.8.0')); |
My project uses auditjs, which has npm ^5.6.0 as a dependency. Seems to be related to this issue: sindresorhus/execa#153 (comment) |
Having this same issue with Node 12.4.0 (installed via HomeBrew), NPM 6.9.0 (installed via |
@amejiarosario @saulimus @Anadian Can you check out #410 and see if it fixed the issue for you? |
just to give a feedback, I'm using np v5.0.3, following the thread in #410, but I'm still experiencing the problem as the others :( |
I've managed to solve the issue by reinstalling node (with asdf) and then running the local version of np ( If you do that you have also to run |
Just to leave another data point and a few bread crumbs. In my case I'm running Linux so YMMV. I have package npm installed which installs to /usr/bin/npm and is version 3.5.2 or something similarly old. I do have npm installed "globally (via I did a little debugging and found that the I'm not sure why there's a difference in $PATH between my shell and the execa, but uninstalling the ubuntu npm package was a simple enough work around. |
No report since 2019, closing |
Description
I'm using npm 6.9.0 and np is still complaining:
Steps to reproduce
Expected behavior
Go through since my npm is up to date
Environment
np - 5.0.2
Node.js - 10.12.0
npm - 6.9.0
Git - 2.19.1
OS - Mac OS X 10.14.4 (build 18E226)
The text was updated successfully, but these errors were encountered: