C
C
ceeed2022-01-18 21:24:30
bash
ceeed, 2022-01-18 21:24:30

How to fix the error: node_modules\.bin\' is not recognized as an internal or external command, operable program or batch file.?

When I run the application via npm start on the server, I get the following error. How to fix it?

'A-V1.2\node_modules\.bin\' is not recognized as an internal or external command,
operable program or batch file.
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\Администратор\Documents\vite\bin\vite.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question