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

Cannot find module 'request' #97

Open
Vegito03 opened this issue Nov 27, 2018 · 2 comments
Open

Cannot find module 'request' #97

Vegito03 opened this issue Nov 27, 2018 · 2 comments

Comments

@Vegito03
Copy link

Hey there I am facing this issue can anyone has solution of it. I just changed my bot owner name , account name and the private keys in postpromoter.js file but getting this error here's the error down below

Error: Cannot find module 'request'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/data/data/com.termux/files/home/postpromoter/postpromoter.js:2:15)
at Module._compile (internal/modules/cjs/loader.js:722:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)

@SuggeElson
Copy link
Contributor

npm install request -g

@Vegito03
Copy link
Author

Vegito03 commented Nov 27, 2018

I also tried this but not working same error
I execute the file by "node postpromoter.js"
As nodejs isn't working

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

2 participants