Can't Install Discord.js Package in glitch


#1

ERROR 404 Not Found: https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62
Error: Promise rejected with value: { code: ‘E404’,
uri: ‘https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’,
response:
{ body:
{ _readableState: [Object],
readable: true,
domain: null,
_events: {},
_eventsCount: 2,
_writableState: [Object],
writable: false,
allowHalfOpen: true,
_transformState: [Object] },
size: 0,
timeout: 0,
url: ‘https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’,
status: 404,
statusText: ‘Not Found’,
headers: {} },
attempts: 1,
resource: ‘https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’,
message: ‘404 Not Found: https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’ }
at /home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:27:12
at Array.forEach ()
at EventEmitter. (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:23:24)
at emitTwo (events.js:125:13)
at EventEmitter.emit (events.js:213:7)
at emit (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:77:11)
at processEmit [as emit] (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:150:5)
at process.exit (internal/process.js:158:15)
at Timeout.setTimeout [as _onTimeout] (/home/nvm/pnpm/lib/node_modules/pnpm/lib/err.js:10:30)
at ontimeout (timers.js:469:11)
Error: Promise rejected with value: { code: ‘E404’,
uri: ‘https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’,
response:
{ body:
{ _readableState: [Object],
readable: true,
domain: null,
_events: {},
_eventsCount: 2,
_writableState: [Object],
writable: false,
allowHalfOpen: true,
_transformState: [Object] },
size: 0,
timeout: 0,
url: ‘https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’,
status: 404,
statusText: ‘Not Found’,
headers: {} },
attempts: 1,
resource: ‘https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’,
message: ‘404 Not Found: https ://codeload.github.com/hydrabolt/prism-media/tar.gz/ead016c69b1f341898cb264746c355b982502c62’ }
at /home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:27:12
at Array.forEach ()
at EventEmitter. (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/loud-rejection/index.js:23:24)
at emitTwo (events.js:125:13)
at EventEmitter.emit (events.js:213:7)
at emit (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:77:11)
at processEmit [as emit] (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:150:5)
at process.exit (internal/process.js:158:15)
at Timeout.setTimeout [as _onTimeout] (/home/nvm/pnpm/lib/node_modules/pnpm/lib/err.js:10:30)
at ontimeout (timers.js:469:11)


#2

The user hydrabolt doesn’t exist anymore, it redirects to discord.js. So I suggest updating the path to the package you’re using.