Thank you for the reply.
My Mac OS is v10.13.6. I did attempt the options from https://www.balena.io/docs/reference/cli/ but understanding the initial dependencies and translating the linux command ‘apt-get’ don’t seem to work on the Mac at all. I tried the:
npm install balena-cli -g --production --unsafe-perm
and the following errors were returned:
richpark@RBP-iMac-Quad-Core:~/Projects $ sudo apt-get install g++ make python git --yes
Password:
sudo: apt-get: command not found
richpark@RBP-iMac-Quad-Core:~/Projects $ npm install balena-cli -g --production --unsafe-perm
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated natives@1.1.6: This module relies on Node.js’s internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm WARN balena-request@10.0.1 requires a peer of balena-auth@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN resin-register-device@5.0.0 requires a peer of resin-request@^9.0.2 but none is installed. You must install peer dependencies yourself.
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
npm ERR! { [Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’]
npm ERR! stack:
npm ERR! ‘Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’’,
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘access’,
npm ERR! path: ‘/usr/local/lib/node_modules’ }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/richpark/.npm/_logs/2019-04-04T04_34_03_159Z-debug.log
richpark@RBP-iMac-Quad-Core:~/Projects $ su
Password:
su: Sorry
Yes, the the balena cli does not install. What I’m looking for is an installer that installs what is necessary for the Mac OS and the tutorial all seem to require many prerequisites.
Are there tutorials that simply explain the end-to-end process for different OS’s? A terminal program should not be this difficult and what is provided may be technically correct is of little use for a newcomer to the balena system. I successfully completed the getting started project with little difficultly and assumed my Macintosh and RPi3B+ were sufficient for the other projects. The documentation is not at a newcomer level.
Any specific assistance would be appreciated.
Balena Etcher is the best program for burning RPi SD’s. Thank you.