cordova-plugin-local-notifications: Unable to install 0.8.5 for ios
WARNING: IF YOU IGNORE THIS TEMPLATE, WE’LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!
Provide a general summary of the issue.
Your Environment
- Plugin version:0.8.5
- Platform:mac
- OS version:10.12
- Device manufacturer / model:Apple
- Cordova version (
cordova -v):7.0.1 - Cordova platform version (
cordova platform ls):ios 4.4.0 - Plugin config cordova-plugin-device 1.1.6
- Ionic Version (if using Ionic)
Expected Behavior
Tell us what should happen exec install cordova plugin install ./cordova-plugin-local-notifications-0.8.5 (which download from your release) or cordova plugin add git+https://github.com/katzer/cordova-plugin-local-notifications.git#ios10
Actual Behavior
Tell us what happens instead
Steps to Reproduce
Reproduce this issue; include code to reproduce, if relevant
- …
- …
- …
- …
Context
What were you trying to do?
Debug logs
Include iOS / Android logs
- ios XCode logs
- Android: $ adb logcat
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16
Got cordova 7 running this smoothly now from the official repository.
In Ionic v1 we made a fresh install by copying all files to a new directory to perform a cleanup. Then:
config.xml, remove all cordova references frompackage.jsonrm -Rf plugins/rm -Rf node_modules/rm -Rf platforms/cordova plugin add cordova-my-pluginnpm installnote: Node >= 6 works with ionic / cordova 7, but npm 5 will cause horrorscordova platform add ios.My configuration being:
I was able to install the plugin manually. This is an Ionic v1 project so your config may differ.
Then in
project/config.xmladd this:More tips here: https://github.com/katzer/cordova-plugin-local-notifications/wiki/03.-Installation
@scottbcovert you’re welcome!
Consider using nvm or nodenv for multiple node versions on same system.
npmis package, so I’m not sure if you can hotswap that so easily.You should be good with Node 6 for a while: