Ich habe ein einfaches Cordova-Projekt, das ich vor 1,5 Jahren gemacht habe. Vor ein paar Monaten habe ich es zu Android gebaut und es hat funktioniert.cordova ios build plugin Fehler beim Wiederherstellen
Jetzt versuche ich es für iOS zu bauen, aber cordova ios bauen fehlschlägt:
Discovered plugin "InAppBrowser" in config.xml. Adding it to the project
Failed to restore plugin "InAppBrowser" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/InAppBrowser
Discovered plugin "Network Information" in config.xml. Adding it to the project
Failed to restore plugin "Network Information" from config.xml. You might need to try adding it again. Error: Error: Invalid package.json
Building project: /Users/user1/projectname/platforms/ios/projectname.xcworkspace
Macbook, sierra, Xcode 8.1
npm Version {npm: '3.10.9', ares: '1.10.1-DEV' http_parser: '2.7.0' ICU: '57 .1' , Module: '48', node: '6.9.2' Openssl: '1.0.2j', uv: '1.9.1', v8: '5.1.281.88', zlib: '1.2.8'}
cordova Version 6.5.0
In meinem config.xml heißt es:
->
ich aus der ersten kommentierte aber die zweite funktioniert nicht entweder
Vielen Dank! Das hat funktioniert. Auch aktualisiert npm bis spätestens. –