cordova-plugin-firebase: Cannot find module 'xcode' when adding iOS platform
Describe the bug Installation for iOS fails with the following error: “Cannot find module ‘xcode’”
To Reproduce Steps to reproduce the behavior:
cordova plugin install cordova-plugin-firebase
cordova platform add ios
Expected behavior It should install fine without errors.
Console Logs
Failed to install 'cordova-plugin-firebase': Error: Cannot find module 'xcode'
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Context.requireCordovaModule (/Users/superapp070318/.nvm/versions/node/v6.13.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:77:12)
at Object.removeShellScriptBuildPhase (/Users/superapp070318/Documents/development/kuponki/plugins/cordova-plugin-firebase/scripts/ios/helper.js:88:25)
at module.exports (/Users/superapp070318/Documents/development/kuponki/plugins/cordova-plugin-firebase/scripts/ios/after_plugin_install.js:8:12)
at runScriptViaModuleLoader (/Users/superapp070318/.nvm/versions/node/v6.13.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:196:18)
at runScript (/Users/superapp070318/.nvm/versions/node/v6.13.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:172:16)
at /Users/superapp070318/.nvm/versions/node/v6.13.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:140:20
Cannot find module 'xcode'
Plugin Version cordova-plugin-firebase 2.0.3 “Google Firebase Plugin”
Desktop (please complete the following information):
- OS: macOS
- cordova 8.1.1
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 15 (3 by maintainers)
just revert back to cordova 8.0.0…for now