Skip to content

canvas v2.11.2でエラーになる #161

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

Closed
tetsuya-ki opened this issue Jan 27, 2025 · 0 comments · Fixed by #165
Closed

canvas v2.11.2でエラーになる #161

tetsuya-ki opened this issue Jan 27, 2025 · 0 comments · Fixed by #165

Comments

@tetsuya-ki
Copy link
Contributor

Docker Composeを使って愛ちゃんを動かしています。
ビルドでエラーになっているのが気になりました。

"canvas": "2.11.2",

36.19 npm error node-pre-gyp info using [email protected] | linux | x64
36.19 npm error (node:19) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
36.19 npm error (Use `node --trace-deprecation ...` to show where the warning was created)
36.19 npm error node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
36.19 npm error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz 
36.19 npm error node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v127 ABI, glibc) (falling back to source compile with node-gyp) 
36.19 npm error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz 

canvas v3.0.0を使うと動く雰囲気らしいのと、それにしても問題が発生していないので、v3.0.0にするプルリクエストを投げる予定です。
Automattic/node-canvas#2430

tetsuya-ki added a commit to tetsuya-ki/ai that referenced this issue Feb 2, 2025
- upgrade canvas(2.11.2->3.0.0)
@syuilo syuilo closed this as completed in a1965b5 Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant