Closed Remco0o closed 2 years ago
Can you please provide some more info on the error. Things like language, version of dependencies, and build plan would help debug this.
Even better would be a minimal repo that this error can be reproduced on.
Can you try setting the NIXPACKS_PKGS
environment variable to nixos.libuuid
?
Can you try setting the
NIXPACKS_PKGS
environment variable tonixos.libuuid
?
don't work
Can you please provide some more info on the error. Things like language, version of dependencies, and build plan would help debug this.
Even better would be a minimal repo that this error can be reproduced on.
I use nodejs version 17.9 and if i start the repo he build it but after a succesfull deploy i get that error
This is not enough to go on. Can you provide a repo that we can use to reproduce the error on?
This is not enough to go on. Can you provide a repo that we can use to reproduce the error on?
the one on github?
Sure
Sure
it is a private repo
What about an MRE?
What about an MRE?
??
Minimal reproduction example
Minimal reproduction example
how do that
Please share your package.json, I'll try figure it out.
Please share your package.json, I'll try figure it out.
"name": "pixelleader",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"ascii-table": "0.0.9",
"axios": "^0.27.2",
"canvacord": "^5.2.3",
"chalk": "^2.4.1",
"discord-canvas": "^1.4.1",
"discord-nsfw": "^1.3.0",
"discord-together": "^1.3.3",
"discord.js": "^13.6.0",
"generate-password": "^1.7.0",
"glob": "^7.2.0",
"got": "^11.8.3",
"moment": "^2.29.1",
"moment-duration-format": "^2.3.2",
"mongoose": "^6.3.1",
"pretty-ms": "^7.0.1",
"node-fetch": "^2.6.1"
},
"engines": {
"node": "17.x",
"os": "linux",
"cpu": "x64"
}
}
This is not enough to go on. Can you provide a repo that we can use to reproduce the error on?
Done! https://github.com/wyzlle/nixpacks-bug-97
All packages/repo that use node-canvas are affected. It works fine with heroku's buildpacks though.
Can you try setting the NIXPACKS_PKGS environment variable to nixos.libuuid?
Installing util-linux
and/or libuuid
didn't fix this. I suspect this is something to do with how nixpacks installs nix.
This is not enough to go on. Can you provide a repo that we can use to reproduce the error on?
Done! https://github.com/wyzlle/nixpacks-bug-97
All packages/repo that use node-canvas are affected. It works fine with heroku's buildpacks though.
Can you try setting the NIXPACKS_PKGS environment variable to nixos.libuuid?
Installing
util-linux
and/orlibuuid
didn't fix this. I suspect this is something to do with how nixpacks installs nix.
Find the problem and no fix at this moment
This is not enough to go on. Can you provide a repo that we can use to reproduce the error on?
Done! https://github.com/wyzlle/nixpacks-bug-97 All packages/repo that use node-canvas are affected. It works fine with heroku's buildpacks though.
Can you try setting the NIXPACKS_PKGS environment variable to nixos.libuuid?
Installing
util-linux
and/orlibuuid
didn't fix this. I suspect this is something to do with how nixpacks installs nix.Find the problem and no fix at this moment
did you find a solution?
i get this error if i run my code and the deploy is active after that he crash