Open oscarduignan opened 1 year ago
I like this idea. It'd especially benefit people to try to run prototypes created by other people. The error can be quite cryptic, depending on what’s previously been installed.
It might even be better to actually run npm install
every time that npm run dev
is run? It adds a small time delay overhead, but on my machine at least it's less than a second if everything is installed already.
Context
When someone tries to run
npm run dev
without having runnpm install
they see an error like this:Would it be possible for the dev script to check to let the user know if they might need to run
npm install
?What I mean is something like
Alternatives
guess there might be other ways to inform user to remember to run npm install
Additional information (if applicable)
N/A