R
Railway3y ago
Jer

Code not doing what it supposed to

console.log("1")

const { Captcha } = require("captcha-canvas");

console.log("2")
console.log("1")

const { Captcha } = require("captcha-canvas");

console.log("2")
output: 1
5 Replies
Percy
Percy3y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Jer
JerOP3y ago
GitHub
GitHub - JerBlox/verification-system
Contribute to JerBlox/verification-system development by creating an account on GitHub.
Jer
JerOP3y ago
I did that code without railway, using vsc and "node ." it works fine like it's supposed to, but when I host it on railway, it stopped and require captcha-canvas I switched to paketo, and the problem is fixed, idk whats wrong with nixpacks, my project just doesn't seem to elaborate with it lol
milo
milo3y ago
this doesn't help us, sorry can you please reduce it down to just the code that doesnt work?
const { Captcha } = require("captcha-canvas");
this is probably because some sort of binding is broken
Want results from more Discord servers?
Add your server