TrueCar / gluestick

GlueStick is a command line interface for quickly developing universal web applications using React and Redux.
MIT License
361 stars 43 forks source link

Proposal: helpful error for missing node_modules #922

Open toddw opened 7 years ago

toddw commented 7 years ago

Enhancement Proposal

This enhancement is mostly helpful to people who are newer to the javascript ecosystem. I've noticed a lot of people having problems when they clone a GlueStick app but they forget to run yarn install or npm install before running the app. The most common error message they get is an error related to failing to spawn ./node_modules/.bin/gluestick which makes sense because it isn't there. Do you think it would be a good idea to check if the node_modules folder exists and if not we throw a more helpful error for these situations?

zamotany commented 7 years ago

Yeah definitely. There are also other places where more user-friendly messages are needed.