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

Failed to start the bot due to error by genshin-impact-api #18

Open
Vip3rLi0n opened this issue Mar 23, 2021 · 1 comment
Open

Failed to start the bot due to error by genshin-impact-api #18

Vip3rLi0n opened this issue Mar 23, 2021 · 1 comment

Comments

@Vip3rLi0n
Copy link

#17
1
2
3

HisokaBOT-Whatsapp-Bot@0.0.1 start C:\Users\NizzyMeow\Desktop\HisokaBOT-Whatsapp-Bot
node index.js

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

Error: Cannot find module 'genshin-impact-api'
Require stack:

  • C:\Users\NizzyMeow\Desktop\HisokaBOT-Whatsapp-Bot\message\index.js
  • C:\Users\NizzyMeow\Desktop\HisokaBOT-Whatsapp-Bot\index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object. (C:\Users\NizzyMeow\Desktop\HisokaBOT-Whatsapp-Bot\message\index.js:53:17)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\NizzyMeow\Desktop\HisokaBOT-Whatsapp-Bot\message\index.js',
    'C:\Users\NizzyMeow\Desktop\HisokaBOT-Whatsapp-Bot\index.js'
    ]
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! HisokaBOT-Whatsapp-Bot@0.0.1 start: node index.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the HisokaBOT-Whatsapp-Bot@0.0.1 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\NizzyMeow\AppData\Roaming\npm-cache_logs\2021-03-23T10_31_38_246Z-debug.log

@ghost
Copy link

ghost commented Apr 8, 2021

Same

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

1 participant