-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Error: Cannot find module 'dezalgo' #13492
Comments
which version of npm are you using? cc @zkat |
@vaibhav93 What platform are you on? If your are on Mac or Windows can you try using one of the Node.js installers to get a clean version of Otherwise, |
This is almost deffo a hosed npm install. That can happen for a lot of reasons :\ |
@mcollina I wrote that I can´t check the version, I got the error. |
@Vladyslav93 as you can reinstall node to have a working environment, can you note down the npm version before it shows the problem, and then the steps needed to reproduce? |
@mcollina Yeap. Sorry) |
@Vladyslav93 how did you install node v6 with npm@5? Have you tried to uninstalling your current version of node, cleaning up all the modules/etc, and then do a clean install of node 6 and npm@5? Alternatively, can you try |
@mcollina After this line, everything works for now. But I did not understand what the problem with version 5? |
Looks like your system failed to compile a Native C++ module. What version of VS Studio build tools do you have? (If any?) |
@Fishrock123 I tried 2010,2012,2013,2015,2017. The same with everyone. |
Put into cmd.exe line: SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140 |
npm 5.6 throws this error, had to downgrade to 5.5.1 |
happened after i installed jquery package |
@mwilde345 i have also come across that situation. The way i solved was uninstalling the jquery and installing the packages that i needed. And installed back the jquery package in the end. |
Thank you @mcollina ! you saved my day :) after this |
@samee-ch no worries, happy to help! |
Thanks for these suggestions
But downgrading npm fails with the same message:
|
@zaszlo could you please try to remove package-lock.json + node-modules and run npm install. Hopefully, it will resolve this issue. |
I purged nodejs with force :) and then reinstalled with nvm, now I don't get errors anymore :-D |
I have the same problem |
I would recommend to open an issue to https://github.com/npm/npm with a full example to reproduce. It's not a node bug anyway. |
I had the same problem, and it turned out the anti-malware program was causing it. Deactivate it and see if it works any better |
try to instal the latest npm with |
This sometimes happens if a package has a dependency on an older version of |
if you are on npm version (global) of 5.6.0, there may be an issue. |
Thanks @jackhardy1 its worked for me! |
For the solution was to:
On npm
|
Hi.
I have next problem, when I am trying to do something with npm (install, config, etc.) I got the message:
"Error: Cannot find module 'dezalgo'". This happened every time.
node -v:6.10.3
npm -v: "Error: Cannot find module 'dezalgo'".
Had someone the same? Please help.
Thanks.
The text was updated successfully, but these errors were encountered: