pufferpanel / templates

PufferPanel server templates. These templates are importable via the PufferPanel web interface.
Apache License 2.0
84 stars 140 forks source link

Error while creating a Discord.js server #278

Closed perseu444 closed 6 months ago

perseu444 commented 6 months ago

I'm using Discord.js template:

{ "name": "discord-js", "display": "discord.js", "type": "discord", "install": [ { "commands": [ "npm i" ], "type": "command" } ], "run": { "stopCode": 2, "command": "node ./${bot-js-file}", "workingDirectory": "", "pre": [], "post": [], "environmentVars": {} }, "data": { "bot-js-file": { "type": "string", "desc": "The main bot file.", "display": "Main bot file", "required": true, "value": "bot.js" } }, "environment": { "type": "standard" }, "supportedEnvironments": [ { "type": "standard" } ], "requirements": { "binaries": [ "node", "npm" ] } }

When I try to create a new server, I got a pop-up saying "Missing Binary: Node", the problem is, I already have Node and Npm. Any tips?

perseu444 commented 6 months ago

I just installed discord.js (docker) and it's better