-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
--scripts-version not working with forked react-scripts #631
Comments
Apparently we broke this when we added the Node version check. Would you like to send a PR fixing this? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
According to @gaearon's tweet https://twitter.com/dan_abramov/status/774888111927091200
I forked
react-scripts
to another package namedfeeble-scripts
and tried runningcreate-react-app myapp --scripts-version feeble-scripts
, because CRA readsreact-scripts
's package.json in https://github.com/facebookincubator/create-react-app/blob/master/global-cli/index.js#L149-L155, so the command fails end withError: Cannot find module '/path/to/myapp/node_modules/react-scripts/package.json'
.The text was updated successfully, but these errors were encountered: