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

are-we-there-yet #4529

Closed
Gert25 opened this issue Jan 4, 2016 · 6 comments
Closed

are-we-there-yet #4529

Gert25 opened this issue Jan 4, 2016 · 6 comments
Labels
npm Issues and PRs related to the npm client dependency or the npm registry.

Comments

@Gert25
Copy link

Gert25 commented Jan 4, 2016

Trying to install newer version of npm from older version causes an error. Even reinstalling the latest version of node.js does not seem to work.

@bnoordhuis
Copy link
Member

A more specific bug report would help, just "an error" is too vague. Can you post the exact steps you've taken and the output you get?

@mscdex mscdex added the npm Issues and PRs related to the npm client dependency or the npm registry. label Jan 4, 2016
@GeorgeBailey
Copy link

Totally inadequate bug report. @Gert25 Start over. What is "an error".

@rvagg
Copy link
Member

rvagg commented Jan 6, 2016

I'm pretty sure this is related to #3540, #3606 and a few others. are-we-there-yet was one of the modules that showed up as evidence of the problem, but not the cause of it. Basically npm changed dramatically between version 2 and 3 and what's in /usr/local/lib/node_modules/npm (or perhaps another location depending on how you installed Node and on what platform) is a mix of old and new npm files when you upgrade from one version to the other. The easiest solution is to delete that directory completely, rm -rf /usr/local/lib/node_modules/npm and install again.

@Gert25
Copy link
Author

Gert25 commented Jan 6, 2016

Hi George

Sorry should not post on stack overflow when I am frustrated. I fixed the
problem and thank you for your service.

Regards
Gert

On Tue, Jan 5, 2016 at 3:30 PM, George Bailey [email protected]
wrote:

Totally inadequate bug report. @Gert25 https://github.com/Gert25 Start
over. What is "an error".


Reply to this email directly or view it on GitHub
#4529 (comment).

@rvagg rvagg closed this as completed Jan 6, 2016
@SirBLT
Copy link

SirBLT commented May 31, 2017

Soooo..... How did you fix the problem?

@gibfahn
Copy link
Member

gibfahn commented May 31, 2017

Soooo..... How did you fix the problem?

As mentioned above

The easiest solution is to delete that directory completely, rm -rf /usr/local/lib/node_modules/npm and install again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
npm Issues and PRs related to the npm client dependency or the npm registry.
Projects
None yet
Development

No branches or pull requests

8 participants