Cordova cannot read property nodeValue of undefined

by

When preparing ios project using Cordova CLI for editing in xcode you receive an error.




[TypeError: Cannot read property 'nodeValue' of undefined]

1. Backup your www folder and cd into platforms folder in your Cordova project and delete ios platform




cd platforms
rm -R ios

2. cd back to root of your cordova project and Add ios platform again




cd ../
cordova platform add ios
You will notice Cordova CLI automatically prepares ios as well. CLI will even install the plugins you previously installed.



Creating ios project...
Preparing ios project
Starting installation..
Open xcode and you're back to work.
Z Data Tech https://www.zdatatech.com/logo/zdatatech-logo.png Last modified: January 30, 2023
Suggested
Advertisement