Still dosen’t work
Can you please give us a share link?
They have already shared the package.json file contents. You can use that.
LOL.
what?
(10char)
Check now.
there still could’ve been a problem outside
Probably not because the error message stated that the error was in the package.json file.
Yeah says package error. Really dunno what to do so sad.
Ima run it through VS Code.
Fix coming up.
Maybe its because of all the spaces?
Yeah, I got it though.
{
"name": "discord-bot-maker-bot",
"version": "1.0.0",
"description": "You don't have this",
"main": "bot.js",
"scripts": {
"start": "node bot.js"
},
"dependencies": {
"discord.js": "12.2.0",
"express": "^4.17.1",
"fstorm": "latest",
"jimp": "latest",
"node-cron": "^2.0.3"
},
"license": "ISC",
}
That looks a lot better. That should probably work.
Hello Now i get this error.
Check /app/package.json: it has syntax errors, install won’t proceed.
parse error: Expected another key-value pair at line 17, column 3
Remove that comma
Shouldn’t latest
be changed to *
Didn’t work
Hello guys quick update got the thing working by using thise code.
{
“name”: “discord-bot-maker-bot”,
“version”: “1.0.0”,
“description”: “You don’t have this”,
“main”: “bot.js”,
“scripts”: {
“start”: “node bot.js”
},
“dependencies”: {
“discord.js”: “12.2.0”,
“express”: “^4.17.1”,
“fstorm”: “latest”,
“jimp”: “latest”,
“node-cron”: “^2.0.3”
},
“license”: “ISC”
}
But now i get this stuff.
internal/modules/cjs/loader.js:584
throw err;
^
Error: Cannot find module ‘express-glitch-keepalive’
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)
Jump Toat Object. (/app/bot.js:16:19)
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)
I fell dumb for asking but i got no idea wtf to do. when i press jump to this is what i see.
const keepalive = require(‘express-glitch-keepalive’);
I removed that as it was pointless, it will not keep your project up anymore.