Skip to content

Not possible to build on Heroku-24 #2501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chr4ss12 opened this issue Apr 3, 2025 · 1 comment
Open

Not possible to build on Heroku-24 #2501

chr4ss12 opened this issue Apr 3, 2025 · 1 comment

Comments

@chr4ss12
Copy link

chr4ss12 commented Apr 3, 2025

Hello,
I am using heroku APT buildpack, this is my APT file:

build-essential
libpango1.0-dev
libcairo2-dev
libjpeg-dev
libgif-dev
librsvg2-dev
libharfbuzz-dev
libharfbuzz0b
libpangocairo-1.0-0

I keep getting this error:

remote: npm error gyp info spawn make
remote: npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
remote: npm error /usr/bin/ld: cannot find -lpango-1.0: No such file or directory
remote: npm error collect2: error: ld returned 1 exit status
remote: npm error make: *** [canvas.target.mk:206: Release/obj.target/canvas.node] Error 1
remote: npm error gyp ERR! build error

stack: heroku-24
"canvas": "^3.1.0",
"node": "22.14.0",

@chr4ss12
Copy link
Author

chr4ss12 commented Apr 3, 2025

it works when I change node version to

"node": "22.11.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant