BeepIsla / csgo-commend-bot

Commend/Report bot in NodeJS
GNU Affero General Public License v3.0
288 stars 144 forks source link

node DatabaseManager.js Error #533

Closed layihvh closed 4 years ago

layihvh commented 4 years ago

internal/modules/cjs/loader.js:621 throw e; ^

Error: No valid exports main found for 'C:\Users\user\Desktop\Commend\csgo-commend-bot-master\node_modules\sqlite' at resolveExportsTarget (internal/modules/cjs/loader.js:618:9) at applyExports (internal/modules/cjs/loader.js:499:14) at resolveExports (internal/modules/cjs/loader.js:548:12) at Function.Module._findPath (internal/modules/cjs/loader.js:650:22) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:948:27) at Function.Module._load (internal/modules/cjs/loader.js:854:27) at Module.require (internal/modules/cjs/loader.js:1023:19) at require (internal/modules/cjs/helpers.js:72:18) at Object. (C:\Users\user\Desktop\Commend\csgo-commend-bot-master\databaseManager.js:2:16) at Module._compile (internal/modules/cjs/loader.js:1128:30) { code: 'MODULE_NOT_FOUND' }

can someone help me?

BeepIsla commented 4 years ago

Use the issue template.

NodeJS version?

layihvh commented 4 years ago

I tried installed 12.18.2 and now its working.