Hello. I am developing a service using f7.
Always appreciate your f7 service.
I recently switched to an m1 macbook and am using it.
The following error occurs during execution. Any solution?
cordova(m1) works well, and the capacitor has no problem in Intel x86 mac. But only m1 mac with capacitor has error. I tried it with root privileges also
npm -v => 7.24.2
node -v => v14.19.1
framework7 --version => 7.0.0
framework7 create --ui (capacitor + vue)
npm install
npm ERR! code 1
npm ERR! path /Users/dankim/Documents/aws/www/guest_test/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.11.3/libvips-8.11.3-darwin-x64.tar.br
npm ERR! internal/fs/utils.js:332
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: EACCES: permission denied, copyfile ‘/var/folders/72/j3nw8jv97y1457f633f48chm0000gn/T/49067-libvips-8.11.3-darwin-x64.tar.br’ → ‘/Users/dankim/.npm/_libvips/libvips-8.11.3-darwin-x64.tar.br’
npm ERR! at Object.copyFileSync (fs.js:2061:3)
npm ERR! at WriteStream. (/Users/dankim/Documents/aws/www/guest_test/node_modules/sharp/install/libvips.js:165:20)
npm ERR! at WriteStream.emit (events.js:400:28)
npm ERR! at emitCloseNT (internal/streams/destroy.js:87:10)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:81:21) {
npm ERR! errno: -13,
npm ERR! syscall: ‘copyfile’,
npm ERR! code: ‘EACCES’,
npm ERR! path: ‘/var/folders/72/j3nw8jv97y1457f633f48chm0000gn/T/49067-libvips-8.11.3-darwin-x64.tar.br’,
npm ERR! dest: ‘/Users/dankim/.npm/_libvips/libvips-8.11.3-darwin-x64.tar.br’
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/dankim/.npm/_logs/2022-04-21T02_13_04_672Z-debug.log