skia-canvas: Cannot install v1.0.1 on Ubuntu arm64
When trying to install v1.0.1 on Ubuntu 22.04.1 arm64, I get the following error:
npm ERR! code 101
npm ERR! path /home/ubuntu/Javascript/test/node_modules/skia-canvas
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install || npm run build -- --release
npm ERR! response status 403 Forbidden on https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
npm ERR!
npm ERR! > skia-canvas@1.0.1 build
npm ERR! > cargo-cp-artifact -nc lib/v6/index.node -- cargo build --message-format=json-render-diagnostics --release
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
npm ERR! node-pre-gyp info using node@18.7.0 | linux | arm64
npm ERR! node-pre-gyp info check checked for "/home/ubuntu/Javascript/test/node_modules/skia-canvas/lib/v6/index.node" (not found)
npm ERR! node-pre-gyp http GET https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
npm ERR! node-pre-gyp ERR! install response status 403 Forbidden on https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
npm ERR! node-pre-gyp ERR! install error
npm ERR! node-pre-gyp ERR! stack Error: response status 403 Forbidden on https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
npm ERR! node-pre-gyp ERR! stack at /home/ubuntu/Javascript/test/node_modules/@mapbox/node-pre-gyp/lib/install.js:67:15
npm ERR! node-pre-gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! node-pre-gyp ERR! System Linux 5.15.0-1017-oracle
npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/home/ubuntu/Javascript/test/node_modules/.bin/node-pre-gyp" "install"
npm ERR! node-pre-gyp ERR! cwd /home/ubuntu/Javascript/test/node_modules/skia-canvas
npm ERR! node-pre-gyp ERR! node -v v18.7.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
npm ERR! node-pre-gyp ERR! not ok
npm ERR! error: could not find `Cargo.toml` in `/home/ubuntu/Javascript/test/node_modules/skia-canvas` or any parent directory
npm ERR! Did not copy "cdylib:skia-canvas"
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2022-10-23T21_57_44_833Z-debug-0.log
Full log: 2022-10-23T21_57_44_833Z-debug-0.log
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 3
- Comments: 15
Forcing the version to
1.0.0
like this:"skia-canvas": "1.0.0"
works for linux-arm64Getting the same problem here