isaacs / isexe

Minimal module to check if a file is executable.
ISC License
48 stars 17 forks source link

error #27

Open shinumani opened 2 years ago

shinumani commented 2 years ago

error is comin.please help code: 'MODULE_NOT_FOUND', path: 'C:\Users\Joby\Desktop\Blog-Website\client\node_modules\isexe\package.json', requestPath: 'isexe'

shinumani commented 2 years ago

Error: Cannot find module 'C:\Users\joby\Desktop\Blog-Website\client\node_modules\isexe\index.js'. Please verify that the package.json has a valid "main" entry

SergeySharashkin commented 2 years ago

admin@PC2 MINGW64 /f/Projects/goit-react-hw-04-hooks-feedback (main) $ npm run start

goit-react-hw-04-hooks-feedback@0.1.0 start react-scripts start

internal/modules/cjs/loader.js:328 throw err; ^

Error: Cannot find module 'F:\Projects\goit-react-hw-04-hooks-feedback\node_modules\isexe\index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (internal/modules/cjs/loader.js:320:19) at Function.Module._findPath (internal/modules/cjs/loader.js:533:18) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:875:27) at Function.Module._load (internal/modules/cjs/loader.js:745:27) at Module.require (internal/modules/cjs/loader.js:961:19) at require (internal/modules/cjs/helpers.js:92:18) at Object. (F:\Projects\goit-react-hw-04-hooks-feedback\node_modules\which\which.js:7:15) at Module._compile (internal/modules/cjs/loader.js:1072:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) at Module.load (internal/modules/cjs/loader.js:937:32) { code: 'MODULE_NOT_FOUND', path: 'F:\Projects\goit-react-hw-04-hooks-feedback\node_modules\isexe\package.json', requestPath: 'isexe' }