Skip to content
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

404 Not Found canvas-v2.10.1-node-v108-darwin-unknown-arm64.tar.gz #2140

Closed
kwdiwt opened this issue Oct 18, 2022 · 2 comments
Closed

404 Not Found canvas-v2.10.1-node-v108-darwin-unknown-arm64.tar.gz #2140

kwdiwt opened this issue Oct 18, 2022 · 2 comments

Comments

@kwdiwt
Copy link

kwdiwt commented Oct 18, 2022

Why not release the arm64 version?

Steps to Reproduce

xschen@xsdeMacBook-Air pdf.js % yarn
yarn install v1.22.19
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] 🔍  Resolving packages...
warning gulp > glob-watcher > [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning gulp > glob-watcher > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning gulp > glob-watcher > anymatch > micromatch > snapdragon > [email protected]: See https:/lydell/source-map-resolve#deprecated
warning gulp > glob-watcher > anymatch > micromatch > snapdragon > source-map-resolve > [email protected]: https:/lydell/resolve-url#deprecated
warning gulp > glob-watcher > anymatch > micromatch > snapdragon > source-map-resolve > [email protected]: See https:/lydell/source-map-url#deprecated
warning gulp > glob-watcher > anymatch > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https:/lydell/urix#deprecated
warning typogr > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning wintersmith > [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning wintersmith > [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
warning wintersmith > [email protected]: Support has ended for 9.x series. Upgrade to @latest
warning wintersmith > npm > [email protected]: This module is no longer used. Please see @npmcli/arborist if you would like to build and reify package trees programmatically.
warning wintersmith > npm > [email protected]: request has been deprecated, see https:/request/request/issues/3142
warning wintersmith > npm > node-gyp > [email protected]: request has been deprecated, see https:/request/request/issues/3142
warning wintersmith > npm > [email protected]: The functionality that this package provided is now in @npmcli/arborist
warning wintersmith > npm > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning wintersmith > npm > request > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning wintersmith > npm > libnpm > [email protected]: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config
warning wintersmith > npm > request > [email protected]: this library is no longer supported
warning wintersmith > npm > npm-registry-fetch > make-fetch-happen > [email protected]: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now
warning wintersmith > pug > pug-code-gen > constantinople > babel-types > babel-runtime > [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > [email protected]" has unmet peer dependency "@microsoft/eslint-plugin-sdl@github:mozfreddyb/eslint-plugin-sdl#17b22cd527682108af7a1a4edacf69cb7a9b4a06".
warning " > [email protected]" has incorrect peer dependency "eslint-plugin-html@^6.0.0".
warning " > [email protected]" has incorrect peer dependency "eslint-plugin-prettier@^3.0.0".
warning " > [email protected]" has incorrect peer dependency "prettier@^1.19.1".
[4/4] 🔨  Building fresh packages...
[1/7] ⠠ canvas
[-/7] ⠠ waiting...
[3/7] ⠠ fsevents
[-/7] ⠠ waiting...
error /Users/xschen/projects/pdf.js/node_modules/canvas: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build --update-binary
Arguments:
Directory: /Users/xschen/projects/pdf.js/node_modules/canvas
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | arm64
node-pre-gyp http GET https:/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v108-darwin-unknown-arm64.tar.gz
node-pre-gyp http download proxy agent configured using: "http://10.127.3.214:3128"
node-pre-gyp ERR! install response status 404 Not Found on https:/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v108-darwin-unknown-arm64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v108 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https:/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v108-darwin-unknown-arm64.tar.gz
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info ok
gyp info it worked if it ends with ok

Environment

  • Version of node-canvas (^2.9.3)
  • Environment (node v18.9.1 on Mac OS X 12.6 m2 chip)
@jkruse
Copy link

jkruse commented Oct 18, 2022

Probably due to #2025 ?

@zbjornson
Copy link
Collaborator

We don't have v18 prebuilds (#2025), nor any ARM prebuilds. See #1511 for more info and workarounds.

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

No branches or pull requests

3 participants