don't re-install `react-scripts` when installed globally
See original GitHub issueInstalling react-scripts
can take up to 30 mins on my laptop. Maybe allow create-react-app
to use global react-scripts
if it’s there? I’ve installed it globally and thought it’d save quite some time, but it tries to download it again anyway when running create-react-app
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Setup react-scripts globally - Stack Overflow
If you don't want to install every single time starting a new project in react. You can install react-scripts globally.
Read more >react-scripts: command not found error [Solved] | bobbyhadz
The react-scripts package should NOT be globally installed or be in your project's devDependencies , it should be in the dependencies object in...
Read more >Fix: React Scripts Command not Found Error - Medium
Fix 1: Run npm install ... In the case where an app might have been cloned, the node_modules directory would not have been...
Read more >react-scripts' is not recognized as an internal or external ...
It is an error about react-scripts file missing in your node_modules/ directory at the time of installation. Check your react-script dependency is avaliable ......
Read more >You are running `create-react-app` 4.0.3, which is behind the ...
Default NPM install on systems requires sudo in order to install packages globally. NPX does not needed elevated permissions at all. Sure, you ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We’ll release an update using Yarn soon so you might want to give that a try once it’s out.
Yarn integration is out in the latest version of Create React App so you can use it, and it should be much better.