You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: spawn EACCES
at _errnoException (util.js:1041:11)
at ChildProcess.spawn (internal/child_process.js:325:11)
at exports.spawn (child_process.js:493:9)
at exports.execFile (child_process.js:208:15)
at X/nodejs/myapp/node_modules/pify/index.js:29:7
at Promise (<anonymous>)
at X/nodejs/myapp/node_modules/pify/index.js:12:10
at ret (X/nodejs/myapp/node_modules/pify/index.js:56:34)
at module.exports.paths (X/nodejs/myapp/node_modules/trash/lib/macos.js:38:23)
at module.exports.iterable (X/nodejs/myapp/node_modules/trash/index.js:20:25) code: 'EACCES', errno: 'EACCES', syscall: 'spawn' }
I could solve the issue by setting the execute bit on trash/lib/macos-trash like so:
chmod +x ./node_modules/trash/lib/macos-trash
Node version: 8.4.0
npm version: 5.4.0
The text was updated successfully, but these errors were encountered:
I'm getting following error on macOS 10.12.6:
I could solve the issue by setting the execute bit on
trash/lib/macos-trash
like so:Node version: 8.4.0
npm version: 5.4.0
The text was updated successfully, but these errors were encountered: