Skip to content

Instantly share code, notes, and snippets.

@iftee
Created February 26, 2020 10:41
Show Gist options
  • Save iftee/8ae73f7bf2c793aa789de8fe476818c6 to your computer and use it in GitHub Desktop.
Save iftee/8ae73f7bf2c793aa789de8fe476818c6 to your computer and use it in GitHub Desktop.
Fix npx throwing error issue in terminal due to Windows 10 usename has space with the following terminal command. Also, run the terminal or VSCode in admin mode if required.
npm config set cache "C:\Users\Firstname~1\AppData\Roaming\npm-cache" --global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment