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] Error: Cannot find module 'request' #5

Closed
bughaver opened this issue Jul 2, 2021 · 4 comments
Closed

[ERROR] Error: Cannot find module 'request' #5

bughaver opened this issue Jul 2, 2021 · 4 comments
Labels

Comments

@bughaver
Copy link

bughaver commented Jul 2, 2021


Require stack:

- /opt/magic_mirror/modules/MMM-json/node_helper.js

- /opt/magic_mirror/js/app.js

- /opt/magic_mirror/serveronly/index.js

   at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)

   at Function.Module._resolveFilename (/opt/magic_mirror/node_modules/module-alias/index.js:49:29)

   at Function.Module._load (internal/modules/cjs/loader.js:746:27)

   at Module.require (internal/modules/cjs/loader.js:974:19)

   at require (internal/modules/cjs/helpers.js:92:18)

   at Object.<anonymous> (/opt/magic_mirror/modules/MMM-json/node_helper.js:1:15)

   at Module._compile (internal/modules/cjs/loader.js:1085:14)

   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)

   at Module.load (internal/modules/cjs/loader.js:950:32)

   at Function.Module._load (internal/modules/cjs/loader.js:790:14) {

 code: 'MODULE_NOT_FOUND',

 requireStack: [

   '/opt/magic_mirror/modules/MMM-json/node_helper.js',

   '/opt/magic_mirror/js/app.js',

   '/opt/magic_mirror/serveronly/index.js'

 ]

}
@DanielHabenicht
Copy link
Owner

DanielHabenicht commented Jul 2, 2021

Did you npm install inside of the cloned directory?
What npm/noder version are you using?

@bughaver
Copy link
Author

bughaver commented Jul 2, 2021 via email

@Iketaki
Copy link

Iketaki commented Sep 19, 2021

Hi. I was faced at the same problem.
Installing request manually fixed the issue. Thanks.

@github-actions
Copy link

🎉 This issue has been resolved in version 1.1.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

No branches or pull requests

3 participants