Im trying to install cordova-spotify. I had it working a couple days ago. I uninstalled it then tried to reinstall it and I’ve been getting this error ever since. All my other plugins work.
I run this command ionic cordova plugin add cordova-spotify
and I get this error:
Installing "cordova-spotify" for ios
Plugin dependency "es6-promise-plugin@4.1.0" already fetched, using that version.
Dependent plugin "es6-promise-plugin" already installed on ios.
Running command: /Users/mattietea/Desktop/turn_v2/plugins/cordova-spotify/package.sh
/Users/mattietea/Desktop/turn_v2
Failed to install 'cordova-spotify': Error: spawn EACCES
at exports._errnoException (util.js:1016:11)
at ChildProcess.spawn (internal/child_process.js:317:11)
at Object.exports.spawn (child_process.js:491:9)
at Object.exports.spawn
(/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:134:31)
at runScriptViaChildProcessSpawn
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:226:23)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:167:16)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:133:20
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
Error: spawn EACCES
Here are some of the versions I’m using:
"@ionic/app-scripts": "1.3.8",
"@ionic/cli-plugin-cordova": "1.4.0",
"@ionic/cli-plugin-ionic-angular": "1.3.1",
I’m on a Mac if that means anything.
Thanks!