Error [ERR_MODULE_NOT_FOUND] #1215
Unanswered
Nacholoop
asked this question in
Troubleshooting Questions
Replies: 2 comments 4 replies
-
Though this error should not be thrown if you install dependencies with ‘npm install —legacy-peer-deps —omit=dev’ but you can now remove it by installing it separately with ‘npm install request-promise’ |
Beta Was this translation helpful? Give feedback.
1 reply
-
Same error even after installing it explicitly? Need more information to be able to answer. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, anyone can help me??? i cant install RTL, always the same error.... Thank you!!
node rtl
node:internal/errors:490
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '/home/xxx/RTL/node_modules/request-promise/' imported from /home/xxx/RTL/backend/utils/common.js
at new NodeError (node:internal/errors:399:5)
at legacyMainResolve (node:internal/modules/esm/resolve:235:9)
at packageResolve (node:internal/modules/esm/resolve:876:14)
at moduleResolve (node:internal/modules/esm/resolve:938:20)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v18.15.0
Beta Was this translation helpful? Give feedback.
All reactions