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.

Custom react script keeps looking for react-scripts module during Install

See original GitHub issue

Description

I have followed every instruction in creating a nicely forked react-scripts package and published it to npm as unicodeveloper-react-scripts. The url is https://github.com/unicodeveloper/create-react-app/tree/master/packages/react-scripts

…but every time i run create-react-app myapp --scripts-version unicodeveloper-react-scripts, It goes ahead to install all the modules and then get stuck at this point

screen shot 2016-10-10 at 10 01 41 pm

Apparently, it installs all the modules and tries to look for a react-scripts module somewhere in the new bootstrapped app

Is there a particular config I am missing or is this a bug? I’ll appreciate some help here, thanks @gaearon

Environments

I am running on node v 6.5.0 and npm v 3.10.3.

Using Mac Os Yosemite

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gaearoncommented, Oct 11, 2016

@unicodeveloper Can you try updating the global command to its latest version?

npm i -g create-react-app@latest
0reactions
unicodevelopercommented, Oct 11, 2016

I’ll close the issue. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Everything you need to know about react-scripts
In this guide, we'll give an overview of react-scripts, compare a few different types of scripts, and describe how Create React App dramatically ......
Read more >
react-scripts: command not found - Stack Overflow
My issue was caused by me using npx create-react-app app-name inside of a folder named "npm/node" or npm:node . Using the command in...
Read more >
The React Scripts Start Command – Create-React-App NPM ...
Let's start by looking at the start.js script. How the react-scripts start process works. With the start argument, NPM will begin the process...
Read more >
create-react-scripts - npm
Start using create-react-scripts in your project by running `npm i create-react-scripts` ... Assume your script name is custom-react-scripts.
Read more >
Migrating from Create React App - Next.js
Remove react-scripts (but keep react and react-dom ). If you're using React Router, you can also remove react-router-dom . Install next . Add...
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