hello all ,
i have my app which is published to apple store already ,
i wanted to add new function , which is working fine locally ,
but when i tried to rebuild the app in phonegap
this error showed up
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "cordova-plugin-contacts@~2.0.1" via npm Installing "cordova-plugin-contacts" at "2.0.1" for ios Failed to install 'cordova-plugin-contacts': Error: Your ios platform does not have Api.js at Object.getPlatformApiFunction (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/cordova/util.js:489:19) at Object.getPlatformApi (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/platforms/platforms.js:56:25) at handleInstall (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:618:29) at /Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:386:24 at fulfilled (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13) at /Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:557:44 at flush (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:108:17) at combinedTickCallback (internal/process/next_tick.js:95:7) Your ios platform does not have Api.js - You can fix this here
i have searched in google and other forums , it seems the solution is to update node.js to latest version ,
any idea how to update node.js to latest version in alpha software ?
any suggestion will be appreciated
thanks
i have my app which is published to apple store already ,
i wanted to add new function , which is working fine locally ,
but when i tried to rebuild the app in phonegap
this error showed up
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "cordova-plugin-contacts@~2.0.1" via npm Installing "cordova-plugin-contacts" at "2.0.1" for ios Failed to install 'cordova-plugin-contacts': Error: Your ios platform does not have Api.js at Object.getPlatformApiFunction (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/cordova/util.js:489:19) at Object.getPlatformApi (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/platforms/platforms.js:56:25) at handleInstall (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:618:29) at /Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:386:24 at fulfilled (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13) at /Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:557:44 at flush (/Users/phonegap/.nvm/versions/node/v8.1.4/lib/node_modules/pgb-plugman/node_modules/q/q.js:108:17) at combinedTickCallback (internal/process/next_tick.js:95:7) Your ios platform does not have Api.js - You can fix this here
i have searched in google and other forums , it seems the solution is to update node.js to latest version ,
any idea how to update node.js to latest version in alpha software ?
any suggestion will be appreciated
thanks
Comment