-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues while creating custom react-scripts #1124
Comments
Yes, you'd either need to wait for the next |
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. |
@shrynx In my fork I just copied the file that was missing. Of course, this is temporary until the new version of |
@kitze Oh alright, i just commented out the code. Although, I will be copying a few things from your fork :) |
@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 😅 |
@kitze Thanks for the advice. I currently have modified code to a decent extent, but i saw your repo. Will try to approach similar way. @gaearon @kitze |
@shrynx cool 👍 Btw this already exists in the original CRA, you can achieve it by adding PORT=3000 into .env |
@kitze Oh yeah, totally makes sense. I even documented regarding environment variable. must have slipped off from my mind. Thanks for the heads up. |
Description
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
The text was updated successfully, but these errors were encountered: