question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

don't re-install `react-scripts` when installed globally

See original GitHub issue

Installing 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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gaearoncommented, Nov 20, 2016

We’ll release an update using Yarn soon so you might want to give that a try once it’s out.

0reactions
gaearoncommented, Dec 7, 2016

Yarn integration is out in the latest version of Create React App so you can use it, and it should be much better.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found