Hello, I have the same error when trying to npm install on a vite project, could you please fix this ?
npm ERR! code EPERM
npm ERR! syscall spawn
npm ERR! errno -1
npm ERR! Error: spawn EPERM
npm ERR! at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR! at spawn (node:child_process:761:9)
npm ERR! at /private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR! at new Promise ()
npm ERR! at promiseSpawnUid (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR! at promiseSpawn (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR! at runScriptPkg (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR! at runScript (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR! at Array. (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR! at run (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26)
npm ERR! Error: spawn EPERM
npm ERR! at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR! at spawn (node:child_process:761:9)
npm ERR! at /private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR! at new Promise ()
npm ERR! at promiseSpawnUid (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR! at promiseSpawn (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR! at runScriptPkg (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR! at runScript (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR! at Array. (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR! at run (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26) {
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'spawn'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall spawn
npm ERR! errno -1
npm ERR! Error: spawn EPERM
npm ERR! at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR! at spawn (node:child_process:761:9)
npm ERR! at /private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR! at new Promise ()
npm ERR! at promiseSpawnUid (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR! at promiseSpawn (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR! at runScriptPkg (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR! at runScript (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR! at Array. (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR! at run (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26)
npm ERR! Error: spawn EPERM
npm ERR! at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR! at spawn (node:child_process:761:9)
npm ERR! at /private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR! at new Promise ()
npm ERR! at promiseSpawnUid (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR! at promiseSpawn (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR! at runScriptPkg (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR! at runScript (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR! at Array. (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR! at run (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26) {
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'spawn'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall spawn
npm ERR! errno -1
npm ERR! Error: spawn EPERM
npm ERR! at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR! at spawn (node:child_process:761:9)
npm ERR! at /private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR! at new Promise ()
npm ERR! at promiseSpawnUid (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR! at promiseSpawn (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR! at runScriptPkg (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR! at runScript (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR! at Array. (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR! at run (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26)
npm ERR! Error: spawn EPERM
npm ERR! at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR! at spawn (node:child_process:761:9)
npm ERR! at /private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR! at new Promise ()
npm ERR! at promiseSpawnUid (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR! at promiseSpawn (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR! at runScriptPkg (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR! at runScript (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR! at Array. (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR! at run (/private/var/containers/Bundle/Application/E8C72A65-B9A4-460E-A57B-9DAC3BD18BF8/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26) {
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'spawn'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! Cannot read properties of undefined (reading 'stdin')
npm ERR! A complete log of this run can be found in:
npm ERR! /var/mobile/Containers/Data/PluginKitPlugin/D69CDF4E-F5DF-4557-A907-1393E5F3D7E5/Library/Caches/_logs/2025-05-09T12_28_21_155Z-debug-0.log