Skip to content

Instantly share code, notes, and snippets.

@nicbell
Last active March 16, 2016 16:59
Show Gist options
  • Save nicbell/fea544f0339efacd78f1 to your computer and use it in GitHub Desktop.
Save nicbell/fea544f0339efacd78f1 to your computer and use it in GitHub Desktop.

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.

    1. Install node 5.x.x available at https://nodejs.org/en/
    1. Make sure it's on path. Run node -v
    1. Upgrade npm npm i npm -g -f
    1. Check npm version npm -v needs to be 3.x.x
    1. Install Python 2.x.x (make sure to choose add to path) available at https://www.python.org/downloads/
    1. Make sure Python is on path. python -V
    1. 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)
    1. Set Visual Studio version for npm npm set msvs_version 2013 or 2012 if you don't have 2013.
    1. Check settings using npm config ls
@nicbell
Copy link
Author

nicbell commented Mar 16, 2016

Try npm rebuild is you have errors with imagemin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment