79580117

Date: 2025-04-17 21:34:03
Score: 2.5
Natty:
Report link

Did you try installing vite as a dev dependency?

You can do so like this

npm install --save-dev vite

Then try running your code again. If you are still getting the same error after instally maybe check if your node-modules folder isn't missing. You can fresh install with:

rm -rf node_modules

npm install

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: mizzy