@wycats @TheRealPomax WinNodeBestPracticesQ: for npm scripts that use ./node_modules/.bin/*, what do you recommend on Windows (esp. in cmd.exe)?
* global installs (I would prefer not to do this)
* using explicit path into node_modules/.bin/command
e.g.https://stackoverflow.com/questions/35810172/webpack-is-not-recognized-as-a-internal-or-external-command-operable-program-or …
-
-
Another possibility is that they ran npm install from WSL and it didn't install the correct windows stubs.
-
I've found zero need for WSL when it comes to using Node on windows. I use the old cmd (because it supports some common shell things like && chaining) with node installed normally, as well as git for windows installed normally (no git bash!).
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.