issues while creating custom react-scripts
See original GitHub issueDescription
I am making a custom react-scripts, and i used the latest master branch to clone and modify it. but while running i get into error Cannot find module 'react-dev-utils/getProcessForPort'
Expected behavior
The master branch of create react app has the getProcessForPort.js, but the one downloaded from npm doesn’t have it. (probably not part of the release ?)
Reproducible Demo
to reproduce this i have published the broken package on npm
create-react-app myApp --scripts-version super-react-scripts
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:8 (5 by maintainers)
Top 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 >Having issues running a custom typescript script with create ...
I have a TypeScript react app that I set up with create-react-app . > create-react-app --version 4.0.3. Command used to create the app:...
Read more >Tweaking Configuration For React Scripts In Create React App
If you want to tweak your CRA config only slightly, then ejecting your scripts is an extreme measure with a lot of downsides....
Read more >Don't use create-react-app: How you can set up your own ...
Only one build dependency react-scripts . This maintains all your build dependencies, so it's easy to maintain and upgrade with just one ...
Read more >Advanced linting with Create React App, Typescript, and ESLint
This will be run against your code base whenever you execute the `start` or `lint` npm scripts. The rules section is for any...
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
@shrynx one advice, if you want to keep up with the original repo easily, don’t modify too many things otherwise you’ll have a headache. I’m modifying only ~10 lines and it’s still hard 😅
I’ll close because this is not very actionable for us. This particular issue will be solved with next release, but in general it might be better to fork from the latest stable version rather than from master.