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 while running #30

Open
NotAditya01 opened this issue Jan 22, 2024 · 4 comments
Open

error while running #30

NotAditya01 opened this issue Jan 22, 2024 · 4 comments

Comments

@NotAditya01
Copy link

node:internal/modules/cjs/loader:1183
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: The module '\?\C:\Users\Aditya\Desktop\ALL-IN-ONE-Discord-Bot--main\node_modules\canvas\build\Release\canvas.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 108. This version of Node.js requires
NODE_MODULE_VERSION 102. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (C:\Users\Aditya\Desktop\ALL-IN-ONE-Discord-Bot--main\node_modules\canvas\lib\bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: 'ERR_DLOPEN_FAILED'

@Uo1428
Copy link
Owner

Uo1428 commented Jan 22, 2024

update nodejs version.
using replit?

@vxry3
Copy link

vxry3 commented May 7, 2024

update nodejs version. using replit?

no, because im not paying 20 a month just to make it private, so dont use replit since people can just find your repil and find the token and steal the bot,

@Uo1428
Copy link
Owner

Uo1428 commented May 8, 2024

you may use NVM. and use node v18.12.0

@vxry3
Copy link

vxry3 commented May 9, 2024

you may use NVM. and use node v18.12.0

sheluvsbyron is my discord add me cus i need help running the bot

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

3 participants