Hi Guys,
I am trying to setup my env to compile the app with ionic.
I am running into the following error when running "npm run setup". See log below.
Seems to be an issue with installing the simctl module. I tried to run the command with sudo, still the same error. I tried to remove the node_module folder and start fresh without success.
This is my setup:
Ubuntu 18.10
npm --version : 6.7.0
node --version : v11.10.1
gulp --version : [08:26:12] CLI version 2.0.1
ionic --version : 4.10.3
This is the error:
> moodlemobile@3.6.1 setup /vagrant_data
> npm install && cordova prepare && gulp
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: rc@1.2.8 (node_modules/@ionic/app-scripts/node_modules/fsevents/node_modules/rc):
npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: ENOTEMPTY: directory not empty, rmdir '/vagrant_data/node_modules/@ionic/app-scripts/node_modules/fsevents/node_modules/.rc.DELETE/node_modules'
npm ERR! path /vagrant_data/node_modules/cordova-ios/node_modules/.simctl.DELETE/node_modules
npm ERR! code ENOTEMPTY
npm ERR! errno -39
npm ERR! syscall rmdir
npm ERR! ENOTEMPTY: directory not empty, rmdir '/vagrant_data/node_modules/cordova-ios/node_modules/.simctl.DELETE/node_modules'
npm
ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-03-01T08_08_35_077Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 217
npm ERR! moodlemobile@3.6.1 setup: `npm install &&
cordova prepare && gulp`
npm ERR! Exit status 217
npm ERR!
npm ERR! Failed at the moodlemobile@3.6.1 setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!
A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-03-01T08_08_35_121Z-debug.log
Thank you in advance for your help