I am encountering an issue while attempting to execute a folder using npm run dev
, consistently resulting in the same error message.
PS C:\Users\My Name\Desktop\My Folder> npm run dev
Debugger attached.
> <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2c49404d4b4d42580141595f454f014d5c5c6c1c021c021c">[email protected]</a> dev
> vite
'Folder\node_modules\.bin\' is not recognized as an internal or external command,
operable program or batch file.
Debugger attached.
Waiting for the debugger to disconnect...
node:internal/modules/cjs/loader:1050
throw err;
^
Error: Cannot find module 'C:\Users\My Name\Desktop\vite\bin\vite.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1047:15)
at Module._load (node:internal/modules/cjs/loader:893:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.14.0
Waiting for the debugger to disconnect...
The directory I am running from is referenced in this YouTube video: https://www.youtube.com/watch?v=I1cpb0tYV74 https://drive.google.com/file/d/1iTlXIZ4T3BBKjgLMsDpQn-Eux1B3ZyXO/view
My objective is to obtain a localhost link for initiating coding tasks.
How can I resolve this issue?
Multiple attempts have been made, including restarting VS Code and re-running npm run dev
, without success.