ionic-team / ionic-team/capacitor-assets
Not installing on my intel mac
- Dominant language
- TypeScript
- Stars
- 583
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I tried installing using this _npm install @capacitor/assets_ but it keeps failing
i use an intel based mac running Mac Os Monterey
see error below:
npm ERR! code 1
npm ERR! path /Users/bishop/Desktop/IONIC_PROJECTS/litano_pro_app/projects/litano_user_app/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c -- (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm ERR! sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.12.2/libvips-8.12.2-darwin-x64.tar.br
npm ERR! node:internal/fs/utils:348
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: EACCES: permission denied, copyfile '/var/folders/xx/j6fcwfns519gw6sdm4p3hc4w0000gn/T/40904-libvips-8.12.2-darwin-x64.tar.br' -> '/Users/bishop/.npm/_libvips/libvips-8.12.2-darwin-x64.tar.br'
npm ERR! at Object.copyFileSync (node:fs:2866:3)
npm ERR! at WriteStream. (/Users/bishop/Desktop/IONIC_PROJECTS/litano_pro_app/projects/litano_user_app/node_modules/sharp/install/libvips.js:204:20)
npm ERR! at WriteStream.emit (node:events:513:28)
npm ERR! at emitCloseNT (node:internal/streams/destroy:132:10)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:81:21) {
npm ERR! errno: -13,
npm ERR! syscall: 'copyfile',
npm ERR! code: 'EACCES',
npm ERR! path: '/var/folders/xx/j6fcwfns519gw6sdm4p3hc4w0000gn/T/40904-libvips-8.12.2-darwin-x64.tar.br',
npm ERR! dest: '/Users/bishop/.npm/_libvips/libvips-8.12.2-darwin-x64.tar.br'
npm ERR! }
npm ERR!
npm ERR! Node.js v18.13.0
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/bishop/.npm/_logs/2023-01-11T18_16_28_049Z-debug-0.log
Contributor guide
Assessment
This issue has not been assessed yet.