Skip to content
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

Closed
yesmeck opened this issue Sep 12, 2016 · 1 comment · Fixed by #632
Closed

--scripts-version not working with forked react-scripts #631

yesmeck opened this issue Sep 12, 2016 · 1 comment · Fixed by #632

Comments

@yesmeck
Copy link
Contributor

yesmeck commented Sep 12, 2016

According to @gaearon's tweet https://twitter.com/dan_abramov/status/774888111927091200

I forked react-scripts to another package named feeble-scripts and tried running create-react-app myapp --scripts-version feeble-scripts, because CRA reads react-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 with Error: Cannot find module '/path/to/myapp/node_modules/react-scripts/package.json'.

@gaearon
Copy link
Contributor

gaearon commented Sep 12, 2016

Apparently we broke this when we added the Node version check. Would you like to send a PR fixing this?

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants