-
-
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
Bug in create-react-app scripts-version handling (scoped package + version) #2883
Comments
+1 This pull request is to fix: #2853 |
JohnNilsson
referenced
this issue
in JohnNilsson/create-react-app-typescript
Aug 9, 2017
JohnNilsson
referenced
this issue
in JohnNilsson/create-react-app-typescript
Sep 9, 2017
kasperpeulen
pushed a commit
to kasperpeulen/create-react-app
that referenced
this issue
Sep 24, 2017
swengorschewski
referenced
this issue
in swengorschewski/cra-typescript-electron
Oct 16, 2017
LishuGupta652
pushed a commit
to LishuGupta652/create-react-app-1
that referenced
this issue
Oct 8, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
OS: MacOS 10.12.5
Steps to Reproduce
@org/react-scripts
)create-react-app --scripts-version=@org/react-scripts@0.9.0-beta.0 hello
Expected Behavior
Project gets bootstrapped properly.
Actual Behavior
Error:
Cause
There is a subtle bug in here:
https://github.com/facebookincubator/create-react-app/blob/master/packages/create-react-app/createReactApp.js#L444
If I pass
@org/react-scripts@version
-indexOf()
will return0
(it returns position of the first occurrence).The text was updated successfully, but these errors were encountered: