![]() "xcode-select -p" // probably outputs '/Library/Developer/CommandLineTools'ģ. IF this doesn't work and you are still getting the same error, then the xcode-select path probably needs to be changed:ġ. IF you get "xcode-select: error tool 'xcodebuild' requires xcode" type errorġ: "xcode-select -install" // might already be installedĢ: "sudo xcode-select -switch /Library/Developer/CommandLineTools"ģ: "sudo xcodebuild -license accept" // might already be acceptedĬ. "npm install -g Install ios Simulator module:ī. Local install only: "npm install Or global install: "npm install -g (preferred (you MAY need 'sudo' here)Ī. OR to install globally: "npm install -g gulp"Ī. To install to project only: "npm install -save-dev gulp"ī. I did this and it saved my butt on a few things 7. POST_INSTALL.log file any package WARN/Deprecated notices for future After each NPM package install I recommend saving to a “sudo npm install -g XXXX” can open up a can of worms for If you do, see opening notes and continue at your You SHOULD NOT have to use “sudo” for any npm ![]() Now that NODE/NVM are cleanly installed, we move over to NPM for the "chmod u+w /usr/local/share/man/man3 /usr/local/share/man/man5 /usr/local/share/man/man7" IF you get errors on /usr/local/share/man/(man3/man5/man7) directories, THEN perform the followingĢ. "sudo chown -R $(whoami) $(brew -prefix)/*"ī. If you get an error creating symlinks, THEN perform the followingġ. However, as Ionic is up to v6x, there should be no reason for v1.7.16Ĭ. Node versions > 6.11.0 are incompatible with ionic v1.7.16+ after you install DO NOT update/upgrade node and npm to the latest versions Ionic CLI greater than v1.7.16, use If for whatever reason you still need Ionic cli older than v1.7.16, then you will need to pin your node install to (this will auto install npm 3.10.10) Cordova 10.x is still pinned to Java 1.8, you can't use a higher Java versionĪ. Use brew unless you really know what you’re doing. Otherwise you begin running into access/write issues on certain directories which then forces you to try to use “sudo” to install various packages which is itself a bigger problem and will create headaches. NOTE: The importance of installing base packages with Homebrew “brew” is key. Mac 10.15.5 Catalina - Cordova install guide (July 15, 2020):Īndroid (Windows) install guide: Android (Windows) full environment install guide for Cordova/Ionic If you experience different issues throughout the various steps, please post your step number, what the issue was and how you got around it - so others can benefit too. This setup guide, and caveats, was used to install the latest Node/Cordova/Ionic on Mac OSX 10.15.5 Catalina. However, I found the same guide also works for newer versions of Ionic: The following guide is my latest file, tailored for Ionic v1, as I had to install Ionic v1 on a new Mac to continue support for the older app. It constantly evolves and usually makes big jumps every 6 to 12 months. As most probably do, I have create a full guide to install the entire environment needed to run Cordova/Ionic.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |