Hmm my package suddenly didnt load

well as usually i wake up and trying to code,but i found that suddenly it said the require thing didnt work, it said internal/modules/cjs/loader.js:584 throw err; ^ Error: Cannot find module 'discord.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/app/index.js:1:94) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3)
***[quote=“blate, post:1, topic:23146, full:true”]
well as usually i wake up and trying to code,but i found that suddenly it said the require thing didnt work, it said internal/modules/cjs/loader.js:584 throw err; ^ Error: Cannot find module 'discord.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/app/index.js:1:94) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3)
and my package is { "name": "master-bot", "version": "1.0.0", "description": "a discord music bot with guild , gifs and misc commands", "main": "index.js", "scripts": { "start": "node .", "pretest": "eslint --ignore-path .gitignore .", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Nir Gal", "license": "ISC", "dependencies": {

  • "array-sort": "^1.0.0",
    
  • "ascii-table": "^0.0.9",
    
  • "betterqdb":"^0.0.7",
    
  • "canvas":"^2.6.0",
    
  • "cheerio": "^1.0.0-rc.3",
    
  • "common-tags": "^1.8.0",
    
  • "discord-economy": "^1.2.2",
    
  • "discord.js": "^11.6.2",
    
  • "discord.js-commando": "github:discordjs/Commando",
    
  • "discordmeme.js": "^10.0.2",
    
  • "dotenv": "^8.2.0",
    
  • "express": "^4.17.1",
    
  • "ffmpeg-static": "^4.0.1",
    
  • "file-system": "^2.2.2",
    
  • "integer": "^3.0.1",
    
  • "iso-639-1": "^2.1.0",
    
  • "mathjs": "^6.6.2",
    
  • "node-fetch": "^2.6.0",
    
  • "node-opus": "^0.3.3",
    
  • "quick.db": "^6.3.2",
    
  • "random-puppy": "^1.1.0",
    
  • "simple-youtube-api": "^5.2.1",
    
  • "snekfetch": "^4.0.4",
    
  • "sudo-js":"^1.0.2",
    
  • "sqlite3": "^4.1.1",
    
  • "superagent": "^5.2.2",
    
  • "table": "^5.4.6",
    
  • "util": "^0.12.1",
    
  • "webcord": "^1.0.4",
    
  • "ytdl-core": "^2.0.1"
    

}, "devDependencies": {

  • "babel-eslint": "^10.0.3",
    
  • "eslint": "^5.16.0",
    
  • "nodemon": "^1.19.4",
    
  • "prettier": "^1.19.1"
    
    }
    }`
    can any1 help pls
    another bot that i own is working perfectly,the package is the same,i just dont know what is the problem.If you can help i will surely be super apre
  1. Try npm i discord.js.
  2. Or enable-pnpm.

it didnt work :frowning:
the log shows ` No Node version was specified; we are using default version 10. You can change this in package.json: Glitch: The friendly community where everyone builds the web
node v10.15.3, with pnpm
Installing…
Performing headless installation
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 183, reused 182, downloaded 0
Resolving: total 351, reused 349, downloaded 0
Resolving: total 586, reused 585, downloaded 0
Packages: +586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Resolving: total 586, reused 585, downloaded 0
Resolving: total 586, reused 585, downloaded 0
Resolving: total 586, reused 585, downloaded 0
Resolving: total 586, reused 585, downloaded 0
Resolving: total 586, reused 585, downloaded 0
Resolving: total 586, reused 585, downloaded 0
Resolving: total 586, reused 585, downloaded 0

Error: Promise rejected with value: { code: 'E404',

12:05 AM

uri:

12:05 AM

'https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz',

12:05 AM

response:

12:05 AM

{ body:

12:05 AM

{ _readableState: [Object],

12:05 AM

readable: true,

12:05 AM

_events: {},

12:05 AM

_eventsCount: 1,

12:05 AM

_writableState: [Object],

12:05 AM

writable: false,

12:05 AM

allowHalfOpen: true,

12:05 AM

_transformState: [Object] },

12:05 AM

size: 0,

12:05 AM

timeout: 0,

12:05 AM

url:

12:05 AM

'https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz',

12:05 AM

status: 404,

12:05 AM

statusText: 'Not Found',

12:05 AM

headers: {} },

12:05 AM

attempts: 3,

12:05 AM

resource:

12:05 AM

'https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz',

12:05 AM

message:

12:05 AM

'404 Not Found: https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz' }

12:05 AM

at /opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:27:12

12:05 AM

at Array.forEach (<anonymous>)

12:05 AM

at EventEmitter.<anonymous> (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:23:24)

12:05 AM

at EventEmitter.emit (events.js:189:13)

12:05 AM

at emit (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:77:11)

12:05 AM

at processEmit [as emit] (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:150:5)

12:05 AM

at process.exit (internal/process/per_thread.js:168:15)

12:05 AM

at Timeout.setTimeout [as _onTimeout] (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/err.js:10:30)

12:05 AM

at ontimeout (timers.js:436:11)

12:05 AM

at tryOnTimeout (timers.js:300:5)

12:05 AM

Error: Promise rejected with value: { code: 'E404',

12:05 AM

uri:

12:05 AM

'https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz',

12:05 AM

response:

12:05 AM

{ body:

12:05 AM

{ _readableState: [Object],

12:05 AM

readable: true,

12:05 AM

_events: {},

12:05 AM

_eventsCount: 1,

12:05 AM

_writableState: [Object],

12:05 AM

writable: false,

12:05 AM

allowHalfOpen: true,

12:05 AM

_transformState: [Object] },

12:05 AM

size: 0,

12:05 AM

timeout: 0,

12:05 AM

url:

12:05 AM

'https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz',

12:05 AM

status: 404,

12:05 AM

statusText: 'Not Found',

12:05 AM

headers: {} },

12:05 AM

attempts: 3,

12:05 AM

resource:

12:05 AM

'https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz',

12:05 AM

message:

12:05 AM

'404 Not Found: https://registry.npmjs.org/discordmeme.js/-/discordmeme.js-10.0.2.tgz' }

12:05 AM

at /opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:27:12

12:05 AM

at Array.forEach (<anonymous>)

12:05 AM

at EventEmitter.<anonymous> (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:23:24)

12:05 AM

at EventEmitter.emit (events.js:189:13)

12:05 AM

at emit (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:77:11)

12:05 AM

at processEmit [as emit] (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:150:5)

12:05 AM

at process.exit (internal/process/per_thread.js:168:15)

12:05 AM

at Timeout.setTimeout [as _onTimeout] (/opt/nvm/versions/node/v10.15.3/lib/node_modules/pnpm/lib/err.js:10:30)

12:05 AM

at ontimeout (timers.js:436:11)

12:05 AM

at tryOnTimeout (timers.js:300:5)`

seems like the installation didnt work

oh i know why it didnt work,the discordmeme seems like deleted by sb :L

anyways thank you :smiley: