When you use the YoOracleJET NetBeans plugin, which is a set of tools for doing hybrid OracleJET development in NetBeans IDE, you'll find a few "gotchas" when working on Mac OSX, i.e., you're creating iOS apps in this scenario.
The error you'll get while using the iOS project templates in NetBeans IDE, i.e., provided by the YoOracleJET plugin, is as follows:
env: node: No such file or directory
I googled around with the error above and came to this page.
As a result, I recommend you run the following commands on the Mac OSX command line BEFORE you use the iOS project templates provided by the YoOracleJET plugin:
sudo ln -s /usr/local/bin/node /usr/bin/node
sudo ln -s /usr/local/bin/cordova /usr/bin/grunt
sudo ln -s /usr/local/bin/cordova /usr/bin/cordova
Also make sure all the tools, i.e., Bower, Grunt, Node, NPM, and Yeoman are registered in the Options window, which is under "Preferences" in the most left menu (named "NetBeans") on Mac OS X. The "Search" buttons won't work, just type in the paths or browse to them.
For me, they were as follows:
And, here with the Darcula look & feel:
Make sure that Bower, Grunt, Node, NPM, and Yeoman are all set in the Options window. (The "Yeoman" tab is not visible in the two Darcula screenshots above, though you can see it in the screenshot above that, the tab on the right of the HTML/JS category, but only if you have the YoOracleJET plugin installed.) Then go to the New Project dialog and use one of the iOS project templates provided by the YoOracleJET plugin.
Don't worry at all about error messages like these, which are simply related to not having Xcode installed, and have no impact at all:
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
WARN: Skipping following platform as the test command returned an error - ios => xcrun simctl help create with 72
Error: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
You'll need to run "cordova platform add ios" on the command line, in the "hybrid" folder of your application (see step 3 in the previous blog entry about this), since there's no way to do this from within NetBeans IDE. Then run "grunt build --platform=ios" (on the command line or in NetBeans IDE) and "grunt serve --platform=ios --web=true" (on the command line or in NetBeans IDE).
Also, if you're serving from NetBeans IDE, you'll be asked to browse to the location of the "index.html" file when you serve up the application, which should look as follows:
You now have a starting point for creating iOS applications via Oracle JET in NetBeans IDE. Read further here, where you can see how easily you can serve to your connected device via "--destination=device", instead of "--web=true".