Skip to content

Instantly share code, notes, and snippets.

@Hoang-Minh
Created August 5, 2020 23:52
Show Gist options
  • Save Hoang-Minh/81e9337de624475ce84f7a136bbb23b9 to your computer and use it in GitHub Desktop.
Save Hoang-Minh/81e9337de624475ce84f7a136bbb23b9 to your computer and use it in GitHub Desktop.
npx create-react-app
1. Open bash under admin
2. npm config set cache C:\tmp\nodejs\npm-cache --global
3. npm config set cache "C:\Users\SABAHA~1\AppData\Roaming\npm-cache" --global
4. After you change the path, uninstall the global create-react-app npm uninstall -g create-react-app, and try using npx again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment