Relative Content

Tag Archive for reactjsnode.jsvite

Getting error `Cannot find module` when trying to download a new vite project

[email protected] dev vite ‘Laundryvite-projectnode_modules.bin’ is not recognized as an internal or external command, operable program or batch file. node:internal/modules/cjs/loader:1146 throw err; ^ Error: Cannot find module ‘C:UsersUSRDocumentsMyFolderAledoy_Filesvitebinvite.js’ at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15) at Module._load (node:internal/modules/cjs/loader:984:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: ‘MODULE_NOT_FOUND’, requireStack: [] } Node.js v20.12.2 I’m trying to download a new Vite […]

I can’t Load the Vite page in a GIT command

I’m attempting to launch Vite through Node.js in Git’s command line interface by using cd 01basicvite followed by npm run dev, where ‘dev’ is the designated script for Vite. To elaborate, my goal is to run Vite on localhost utilizing the NodeJS script mentioned above.