After I have installed Wappler and create a mobile app, I get the following error regarding Cordova being missing (I am using a Mac). Even doing a system check gives me the same error.
Checking NodeJS installation and version…
v8.11.1
NodeJS is correctly installed.
Checking GIT installation and version…
git version 2.16.3
GIT is correctly installed.
Checking Cordova installation and version…
/bin/bash: cordova: command not found
Cordova is missing!
Installing Cordova …
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
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: ‘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! Please try running this command again as root/Administrator.npm ERR! A complete log of this run can be found in:
npm ERR! /Users/paullamacraft/.npm/_logs/2018-07-30T22_40_34_738Z-debug.log
Cordova installation failed!
Thanks in advance,
Paul.