Git Product home page Git Product logo

Comments (3)

Felitendo avatar Felitendo commented on August 16, 2024

Just do 'npm rebuild'

from discord-bot.

KaiKingStreams avatar KaiKingStreams commented on August 16, 2024

Did that but now i get this error

node:internal/modules/cjs/loader:602
throw e;
^

Error: Cannot find module 'D:\GitHub\ShaDragonBot\node_modules@discordjs\util\dist\index.js'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1223:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1211:15)
at resolveExports (node:internal/modules/cjs/loader:595:14)
at Module._findPath (node:internal/modules/cjs/loader:685:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1172:27)
at Module._load (node:internal/modules/cjs/loader:1012:27)
at Module.require (node:internal/modules/cjs/loader:1271:19)
at require (node:internal/modules/helpers:123:16)
at Object. (D:\GitHub\ShaDragonBot\node_modules\discord.js\src\index.js:3:29)
at Module._compile (node:internal/modules/cjs/loader:1434:14) {
code: 'MODULE_NOT_FOUND',
path: 'D:\GitHub\ShaDragonBot\node_modules\@discordjs\util\package.json'
}

Node.js v22.2.0

from discord-bot.

Felitendo avatar Felitendo commented on August 16, 2024

Did that but now i get this error

node:internal/modules/cjs/loader:602 throw e; ^

Error: Cannot find module 'D:\GitHub\ShaDragonBot\node_modules@discordjs\util\dist\index.js' at createEsmNotFoundErr (node:internal/modules/cjs/loader:1223:15) at finalizeEsmResolution (node:internal/modules/cjs/loader:1211:15) at resolveExports (node:internal/modules/cjs/loader:595:14) at Module._findPath (node:internal/modules/cjs/loader:685:31) at Module._resolveFilename (node:internal/modules/cjs/loader:1172:27) at Module._load (node:internal/modules/cjs/loader:1012:27) at Module.require (node:internal/modules/cjs/loader:1271:19) at require (node:internal/modules/helpers:123:16) at Object. (D:\GitHub\ShaDragonBot\node_modules\discord.js\src\index.js:3:29) at Module._compile (node:internal/modules/cjs/loader:1434:14) { code: 'MODULE_NOT_FOUND', path: 'D:\GitHub\ShaDragonBot\node_modules@discordjs\util\package.json' }

Node.js v22.2.0

npm i discord.js

from discord-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.