Going back to a project in WSL that's built using NPM, npm run not working?
I'm absolutely sure I'm missing something as it shouldn't be this difficult to just carry on from where I left off, suuurely? All I've done here is open WSL, cd into my directory, to open vsc, then the terminal is screenshotted here.
16 Replies
what's in your package.json?
also, isn't your project one level down from there in
restaurant-app
or something?To under stand what you are running like Jochem said. You have npm run scripts in your package.json if you look at it you will see the commands you have avail
ewww webpack >.>;;
not my choice!!
lol everything is a choice
scripts is weird
you were using vite yesterday though, right?
So you don't have a start script
yeah I have a vite version im doing with my mentor where we're using a render function to control state
so doing run start = nothing
this version is just the carbon copy of top
all you have is
npm run test
hmmm ok
are you expecting vite to work in the webpack project?
probably not, but we haven't tried tbh
you shouldn't xD
Vite uses Rollup no need for webpack but I have seen some hacky ways to use webpack with vite. So it is possible