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 error: Cannot find module 'node-fetch-npm' #182

Closed
yash-nisar opened this issue Jun 8, 2017 · 9 comments
Closed

NPM error: Cannot find module 'node-fetch-npm' #182

yash-nisar opened this issue Jun 8, 2017 · 9 comments
Assignees
Labels

Comments

@yash-nisar
Copy link
Member

@yash-nisar yash-nisar commented Jun 8, 2017

@jayvdb
Copy link
Member

@jayvdb jayvdb commented Jun 8, 2017

Try installing a lower version of npm.

@yash-nisar
Copy link
Member Author

@yash-nisar yash-nisar commented Jun 9, 2017

@jayvdb Tried downgrading npm but didn't work. We're using npm 5.0.0 and node 8.0.0. How do I install a lower version of npm ?

@jayvdb
Copy link
Member

@jayvdb jayvdb commented Jun 10, 2017

Tried downgrading npm but didn't work.

What did you try. Show me a build log , or give a technical description of what you tried.

How do I install a lower version of npm ?

What command is currently installing npm?

@yash-nisar
Copy link
Member Author

@yash-nisar yash-nisar commented Jun 12, 2017

Installing: npm8-8.0.0-3.1.x86_64 [............done] is currently getting installed.

Tried doing npm install -g npm@latest-4, build log -> https://travis-ci.org/yash-nisar/docker-coala-base/jobs/241315197

We have these commands for the installation of nodejs and npm, but npm gets installed with nodejs.

@yash-nisar
Copy link
Member Author

@yash-nisar yash-nisar commented Jun 12, 2017

Tried removing node_modules and reinstalling according to this answer but that didn't work either, build log -> https://travis-ci.org/yash-nisar/docker-coala-base/builds/240768995

@jayvdb
Copy link
Member

@jayvdb jayvdb commented Jun 12, 2017

We have these commands for the installation of nodejs and npm, but npm gets installed with nodejs.

Have you tried changing the zypper command to install a different node / npm?

@jayvdb
Copy link
Member

@jayvdb jayvdb commented Jun 14, 2017

As the log tells you, nodejs=6.5.0 and npm=3.10.3 are not valid package names for the zypper command. RTFM :P

@yash-nisar
Copy link
Member Author

@yash-nisar yash-nisar commented Jun 18, 2017

Fixed by using the lower version i.e. nodejs6. nodejs8 was installed earlier.

yash-nisar added a commit to yash-nisar/docker-coala-base that referenced this issue Jun 18, 2017
Fixes coala#182
yash-nisar added a commit to yash-nisar/docker-coala-base that referenced this issue Jun 18, 2017
Fixes coala#182
@rultor rultor closed this in 51fb17d Jun 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.