DEV Community

Discussion on: Generate your web-app boilerplate like create-react-app does.

Collapse
 
jjunyjjuny profile image
DD

hello, I am a student studying programming.
I looked up your blog to make my own CRA.
My boilerplate is installable with npx on mac, but on windows it gives me an error.
As a result of looking for the cause, it seems that the command to run as "Node" was not specified when running create-app.js.

How did you solve this problem?

Your project can be installed with npx in both Mac and Windows environments. but my project is only on mac.

The Facebook CRA team specified the node environment via the scripts field in package.json, but you didn't.

How is that possible? Did you process it in the file registered in .gitignore?
I would really appreciate it if you could reply. Have a nice day!

here is my project repo!!

Collapse
 
leopold profile image
Leopold

Hey, I'm slightly confuse about your issue, but I tested to install your project and it works ! I answered in the github issue you opened.