This should not take more than 15 minutes, you will need to use command line or powershell to run the commands.
Sometimes you may need to close and reopen your shell window after a change to see the change.
-
- Install node 5.x.x available at https://nodejs.org/en/
-
- Make sure it's on path. Run
node -v
- Make sure it's on path. Run
-
- Upgrade npm
npm i npm -g -f
- Upgrade npm
-
- Check npm version
npm -v
needs to be 3.x.x
- Check npm version
-
- Install Python 2.x.x (make sure to choose add to path) available at https://www.python.org/downloads/
-
- Make sure Python is on path.
python -V
- Make sure Python is on path.
-
- Set python path for npm
npm set python C:\\PythonXX
replace XX with correct path from your system. (this is useful if there are multiple versions of Python installed)
- Set python path for npm
-
- Set Visual Studio version for npm
npm set msvs_version 2013
or 2012 if you don't have 2013.
- Set Visual Studio version for npm
-
- Check settings using
npm config ls
- Check settings using
Try
npm rebuild
is you have errors with imagemin.