roxiness / routify-starter

https://example.routify.dev/
198 stars 55 forks source link

Encoutering error while running `npm run dev` #120

Closed CodeLeom closed 2 years ago

CodeLeom commented 2 years ago

After cloning this template on my local computer, I perform the npm install but I encounter error while using npm run dev below is the error it is returning

vite

failed to load config from C:\Users\WIN PRO 11\Downloads\routify-starter-master\routify-starter-master\vite.config.js error when starting dev server: Error: Cannot find module 'node:path' Require stack:

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\WIN PRO 11\AppData\Roaming\npm-cache_logs\2022-10-28T04_58_00_473Z-debug.log
PS C:\Users\WIN PRO 11\Downloads\routify-starter-master\routify-starter-master>

CodeLeom commented 2 years ago

Found the solution:

Uninstall your current version of node, install the latest the latest version, or update your node installation.

Perform the operation from scratch. You are good to go.