Skip to content

Instantly share code, notes, and snippets.

@Willmo36
Last active August 29, 2015 13:57
Show Gist options
  • Save Willmo36/9646151 to your computer and use it in GitHub Desktop.
Save Willmo36/9646151 to your computer and use it in GitHub Desktop.
npm config edit
change all '\\files' to the local appdata folder eg
'\\files\home\maxwillmott\AppData\Roaming\npm\node_modules'
to
'C:\Users\maxwillmott\AppData\Roaming\npm\node_modules'
stuff still won't execute though (karma). create a batch file in the working directory pointing to the relavant command eg
karma.bat => 'C:\Users\maxwillmott\AppData\Roaming\npm\node_modules\karma %*'
UPDATE
You don't have to do the BAT part if you location matches the npm path in the path variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment