quasar mode add cordova error
-
Hi guys, strange problem…
-
@leon the error says you didnt install cordova cli globally, follow the docs https://quasar.dev/quasar-cli/developing-cordova-apps/preparation#1.-Installation
-
thanks @metalsadman
i did npm install -g cordova,
it was installed globally -
@leon post your
quasar info
logd pls. -
Operating System Linux(4.15.0-65-generic) - linux/x64
NodeJs 8.15.0Global packages
NPM 6.4.1
yarn 1.12.3
@quasar/cli 1.0.0
cordova Not installedNetworking
Host muniz-pc
enp3s0 192.168.25.128 -
I did sudo npm install -g cordova
and anywhere i run cordova, it comes with help
idk why quasar cli thing its not installed -
-
Followed this https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
and worked. seems like my npm global root are wrong.thanks @metalsadman
-
@leon you should also consider upgrading your node version and yarn, suggested version for node js is 8.9+ https://quasar.dev/quasar-cli/installation#Introduction