We are having problems running \"npm install\" on our project. A certain file cannot be found :
fatal error C1083: Cannot open include file: \'w
Try to install again with --force option
:
npm install --force
If this doesn't work try to update npm globally:
npm update -g npm
and try again with the --force
option.
The last time I saw a similar error it was because I was using the wrong version of npm
and/or node
for one of my dependencies. Try upgrading these and try again.
Before trying again remove your node_modules
directory.
You may need to investigate what versions of npm
and node
your dependencies need. You could try the latest versions of all your dependencies, node and npm.
Check what versions your colleagues are using.
What OS are you using? That can have an impact as version of CLANG maybe different.
For Windows 8 or 10:
Assuming node and npm installed already.
My node and npm version (At the time of writing this answer) :
node : 8.9.4
npm : 5.6.0
First install python 2.x
Make sure it is available on path
Install Visual Studio Installer
After installation, run it
After the installation it should work perfectly.