Open wtpygo opened 1 year ago
这个v108的文件在node-canvas的releases里确实没有,您可以去你的yarn.lock里搜一下canvas,看看是不是这个:
canvas@^2.6.1:
version "2.8.0"
resolved "https://registry.yarnpkg.com/canvas/-/canvas-2.8.0.tgz#f99ca7f25e6e26686661ffa4fec1239bbef74461"
integrity sha512-gLTi17X8WY9Cf5GZ2Yns8T5lfBOcGgFehDFb+JQwDqdOoBOcECS9ZWMEAqMSVcMYwXD659J8NyzjRY/2aE+C2Q==
dependencies:
"@mapbox/node-pre-gyp" "^1.0.0"
nan "^2.14.0"
simple-get "^3.0.3"
?
额···很遗憾我并不知道如何打开yarn.lock这个文件,请问能否为我指条明路?
w-identify @.***
------------------ 原始邮件 ------------------ 发件人: "msk86/ygo-card-print" @.>; 发送时间: 2023年6月30日(星期五) 晚上7:44 @.>; @.**@.>; 主题: Re: [msk86/ygo-card-print] yarn install报错 (Issue #7)
这个v108的文件在node-canvas的releases里确实没有,您可以去你的yarn.lock里搜一下canvas,看看是不是这个:canvas@^2.6.1: version "2.8.0" resolved "https://registry.yarnpkg.com/canvas/-/canvas-2.8.0.tgz#f99ca7f25e6e26686661ffa4fec1239bbef74461" integrity sha512-gLTi17X8WY9Cf5GZ2Yns8T5lfBOcGgFehDFb+JQwDqdOoBOcECS9ZWMEAqMSVcMYwXD659J8NyzjRY/2aE+C2Q== dependencies: @.***/node-pre-gyp" "^1.0.0" nan "^2.14.0" simple-get "^3.0.3"?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
不好意思我好像明白了,那么下载好这个canvas文件之后要怎么办?直接放入node_modules这个文件夹吗
是的
w-identify @.***
------------------ 原始邮件 ------------------ 发件人: "msk86/ygo-card-print" @.>; 发送时间: 2023年6月30日(星期五) 晚上7:44 @.>; @.**@.>; 主题: Re: [msk86/ygo-card-print] yarn install报错 (Issue #7)
这个v108的文件在node-canvas的releases里确实没有,您可以去你的yarn.lock里搜一下canvas,看看是不是这个:canvas@^2.6.1: version "2.8.0" resolved "https://registry.yarnpkg.com/canvas/-/canvas-2.8.0.tgz#f99ca7f25e6e26686661ffa4fec1239bbef74461" integrity sha512-gLTi17X8WY9Cf5GZ2Yns8T5lfBOcGgFehDFb+JQwDqdOoBOcECS9ZWMEAqMSVcMYwXD659J8NyzjRY/2aE+C2Q== dependencies: @.***/node-pre-gyp" "^1.0.0" nan "^2.14.0" simple-get "^3.0.3"?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
我在执行yarn install之后,反馈中出现了install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v108-win32-unknown-x64.tar.gz,请问这个问题应如何解决?