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
We already do something similar for Python (pip install), so js/ts could be modeled after that. A few reasons I like this:
Users will get a 'clean' project as opposed to immediately seeing build errors from missing dependencies
Users might want to do some coding (with intellisense) before they debug, hence why they need npm i earlier
Only downside might be a delay while npm i runs, but with the right order of operations I think it could be tastefully done. Besides, they'll have to run npm i eventually no matter what.
I love the idea of running it immediately after creating the project. It always bugs me that I have errors in the index.ts that opens from not having run npm install.
Is it possible to run
npm i
after initializing a TS project (maybe do it for JS too for consistency)?The text was updated successfully, but these errors were encountered: