Skip to content

The published npm module breaks create-react-app's app generation #3

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
kitze opened this issue Sep 24, 2016 · 3 comments
Closed

The published npm module breaks create-react-app's app generation #3

kitze opened this issue Sep 24, 2016 · 3 comments

Comments

@kitze
Copy link
Owner

kitze commented Sep 24, 2016

For now the npm module doesn't work.

@kitze
Copy link
Owner Author

kitze commented Sep 24, 2016

Turns out this was due to a bug in create-react-app 0.5.0
facebook#682 (comment)

It's fixed now in 0.5.1.

@kitze kitze closed this as completed Sep 24, 2016
@kitze
Copy link
Owner Author

kitze commented Sep 24, 2016

Getting different error "sh: custom-react-scripts: command not found"

@kitze kitze reopened this Sep 24, 2016
@kitze
Copy link
Owner Author

kitze commented Sep 25, 2016

Fixed this by renaming ./bin/react-scripts to ./bin/custom-react-scripts and also changed it in package.json

"bin": {
    "custom-react-scripts": "./bin/custom-react-scripts.js"
  }

🎉

@kitze kitze closed this as completed Sep 25, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant