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
It appears that Npm only provides the update subcommand, but the currently maintained versions of npm (v6 and v7) support other important commands. Namely:
install is the preferred subcommand for preparing a project to be used, installing any missing modules and running preparation scripts.
ci also works for this purpose, creating a fresh node_modules folder each time and checking that the package-lock is consistent with the package.json.
This has been brought up in sbt/sbt-js-engine#51, which would benefit from calling npm install instead of npm update.
If there is something that I can do to assist in this matter, I would be glad to know. My main limitation is that I'm fairly inexperienced in Scala.
It appears that
Npmonly provides theupdatesubcommand, but the currently maintained versions of npm (v6 and v7) support other important commands. Namely:installis the preferred subcommand for preparing a project to be used, installing any missing modules and running preparation scripts.cialso works for this purpose, creating a fresh node_modules folder each time and checking that the package-lock is consistent with the package.json.This has been brought up in sbt/sbt-js-engine#51, which would benefit from calling
npm installinstead ofnpm update.If there is something that I can do to assist in this matter, I would be glad to know. My main limitation is that I'm fairly inexperienced in Scala.