Ios-sim gives Missing write access error

NodeJS is correctly installed.

Checking GIT installation and version…
git version 2.23.0
GIT is correctly installed.

Checking Cordova installation and version…
9.0.0 (cordova-lib@9.0.1)
Cordova is correctly installed.

Checking Xcode installation and version…
Xcode is correctly installed.

Checking ios-sim installation and version…
simctl was not found.
Check that you have Xcode 8.x installed:
xcodebuild --version
Check that you have Xcode 8.x selected:
xcode-select --print-path

ios-sim is missing!

Installing ios-sim …
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/ios-sim
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules/ios-sim
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules/ios-sim’
npm ERR! [Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules/ios-sim’] {
npm ERR! stack: “Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules/ios-sim’”,
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘access’,
npm ERR! path: ‘/usr/local/lib/node_modules/ios-sim’
npm ERR! }
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.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/dany/.npm/_logs/2019-11-13T13_21_33_571Z-debug.log
ios-sim installation failed!

It is trying to install the package ios-sim but is missing some permissions.

Missing write access to /usr/local/lib/node_modules

he tells me command not found

have you downloaded this in Xcode?
I had this a while back and when I got the IOS Sim working in Xcode (once added) then it worked with no problems.

But the System Check tells me that the Xcode installation is correct
iOS System Check ios-sim installation failed! error remains

ios-sim needs to be installed with admin permissions so try

sudo npm install -g ios-sim

George, the ios-sim install (with sudo) is the first thing I did, but unfortunately even if it is installed from the terminal, when the System Check is performed by Wappler the error always remains

3 posts were split to a new topic: Ios-deploy gives error framework not found mobiledevice on Catalina