Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module, Need Help ! #29

Open
rdcodevilas opened this issue Dec 15, 2022 · 3 comments
Open

Error: Cannot find module, Need Help ! #29

rdcodevilas opened this issue Dec 15, 2022 · 3 comments

Comments

@rdcodevilas
Copy link

node:internal/modules/cjs/loader:408
throw err;
^

Error: Cannot find module 'C:\Users\Administrator\Downloads\react-vscode-portfolio-main\node_modules\isexe\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:400:19)
at Module._findPath (node:internal/modules/cjs/loader:613:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:981:27)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (C:\Users\Administrator\Downloads\react-vscode-portfolio-main\node_modules\which\which.js:7:15)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32) {
code: 'MODULE_NOT_FOUND',
path: 'C:\Users\Administrator\Downloads\react-vscode-portfolio-main\node_modules\isexe\package.json',
requestPath: 'isexe'
}

@graemedewe
Copy link

same issue , anyone have a resolution

@noahbald
Copy link

I tried running the following and it seemed to help for me

npm cache clean --force
npm ci

@Ben-JClark
Copy link

I fixed this issue by deleting node_modules and package-lock.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants