Jump to content

Error

Not a Bug 2.0.9

SouRR
SouRR

Posted

SyntaxError: /home/container/config.json: Unexpected token 
 in JSON at position 90
    at parse (<anonymous>)
    at Object.Module._extensions..json (node:internal/modules/cjs/loader:1266:39)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/container/src/linkingHandler.js:1:16)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)

Amino

Posted

Invalid JSON file. Put it into jsonlint and it should help narrow down where the error is coming from 

SouRR

Posted

now it keeps saying Error: Cannot find module 'discord.js'

SouRR

Posted

Error: Cannot find module 'discord.js'
Require stack:
- /home/container/src/linkingHandler.js
- /home/container/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/container/src/linkingHandler.js:2:17)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/container/src/linkingHandler.js',
    '/home/container/index.js'
  ]

SouRR

Posted

/home/container/node_modules/discord.js/node_modules/undici/lib/web/fetch/response.js:530
  ReadableStream
  ^
ReferenceError: ReadableStream is not defined
    at Object.<anonymous> (/home/container/node_modules/discord.js/node_modules/undici/lib/web/fetch/response.js:530:3)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/container/node_modules/discord.js/node_modules/undici/lib/web/fetch/index.js:11:5)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)

 

 

 

I'm not sure what to do 

Amino

Posted

All was stored in discord 🙂

Amino

Posted

Changed Status from Pending to Not a Bug

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.5k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.