I just ported and rebuilt my Ionic v1 app on a new mac and have all the latest and greatest versions of Node, NPM, Cordova, and Ionic-cli v6.10.1 etc. I am able to successfully compile my app and deploy it a simulator but when compiling from the CLI I am getting the below issues. Even though my app is still successfully compiling I am getting odd behaviors with iPhoneX/iPhone11 UI layouts where the “safe zones” notch area aren’t working properly. I think the issues might be related but I am not certain.
On my older mac, I am running Ionic cli 5.4.4 with the same GULP versions as below and the gulp files are running properly - and my UI
safe zones for iPhoneX/iPhone11 are working fine.
How can I resolve this? Or am I going to have to downgrade the Ionic CLI ?
% ionic cordova build ios > ionic-v1 build [08:16:10] Cannot load gulp: ReferenceError: primordials is not defined [08:16:10] Cannot load gulp: ReferenceError: primordials is not defined [08:16:10] Cannot run sass task: missing in gulpfile.js [08:16:10] Cannot load gulp: ReferenceError: primordials is not defined > cordova build ios
Here is my env info:
% ionic info Ionic: Ionic CLI : 6.10.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : ionic1 1.0.0 @ionic/v1-toolkit : 1.0.22 Cordova: Cordova CLI : 9.0.0 (firstname.lastname@example.org) Cordova Platforms : ios 5.1.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 32 other plugins) Utility: cordova-res : 0.15.1 native-run : not installed System: ios-deploy : 1.10.0 ios-sim : 8.0.2 NodeJS : v14.5.0 (/usr/local/Cellar/node/14.5.0/bin/node) npm : 6.14.5 OS : macOS Catalina Xcode : Xcode 11.5 Build version 11E608c % gulp -v CLI version: 2.3.0 Local version: 3.9.1