Having trouble running "npm start", gets stuck on "vite"

  • :browser: : Which browser? :firefox: (Not relevant.)

  • :computer: Windows 10

  • :grey_question: What steps did you already try to fix it, if any?

  • Tried to run “npm start”.

  • Command line returns:

PS D:\Game Dev\Project-Date-Night-Dossier\Narrat\date-night-dossier> npm start

> date-night-dossier@3.16.0 start
> npm run dev


> date-night-dossier@3.16.0 dev
> vite

'vite' is not recognized as an internal or external command,
operable program or batch file.

I think it might have something to do with that vite.config.ts isn’t recognised somehow, but I don’t really know what to do from here on out, so help would be greatly appreciated. Thank you.

Logs or screenshots of the issue:

I deleted the folder and tried to run npm start again, but with an Empty Game project instead of the Demo game.

It seems to have worked out?


I did it. :slight_smile:

the solution was to cd the game folder in the powershell command before doing npm install

1 Like