You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When someone tries to run npm run dev without having run npm install they see an error like this:
$ npm run dev
> dev
> govuk-prototype-kit dev
'govuk-prototype-kit' is not recognized as an internal or external command,
operable program or batch file.
Would it be possible for the dev script to check to let the user know if they might need to run npm install?
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
The text was updated successfully, but these errors were encountered: