Create React App - Could not create a project called "myApp" because of npm naming restrictions
Closed this issue ยท 3 comments
MarkRabey commented
Expected Behavior
I would expect using "Create JavaScript Project" and selecting "react" would create a React project.
Actual Behavior
The console displays errors, project is not created.
Sublime Text console logs
.[!.],}* ./ ; rm -rf myAppct-sublime mark$ create-react-app myApp ; mv ./myApp/{
Could not create a project called "myApp" because of npm naming restrictions:
* name can no longer contain capital letters
mv: rename ./myApp/.[!.]* to ./.[!.]*: No such file or directory
mv: rename ./myApp/* to ./*: No such file or directory
Steps to Reproduce the Problem
- Project > Create JavaScript Project > react
Specifications
- Sublime Text 3 build:
- OS: OSX High Sierra
- JavaScript Enhancements version: 0.13.17
pichillilorenzo commented
@MarkRabey Ok, it is strange because I tested it and I didn't get this error but I will fix it.. This is because I create a temporary folder named "myApp" that will be deleted after the completion of creation process. So I will change the name of this temp folder in "my-app" ๐ . Thanks for the support!
pichillilorenzo commented
@MarkRabey Try the new version 0.15.0 and let me know!
MarkRabey commented
Works great! Thanks! Great package by the way.