Cordova installation error: path issue (?) - error code ENOENT

前端 未结 5 1307
轻奢々
轻奢々 2021-02-20 05:00

After installing Xcode & NodeJS I am now trying to install Cordova but I am getting the following error regarding a missing file (wrong path?).

Luciens-MacBo         


        
5条回答
  •  鱼传尺愫
    2021-02-20 05:32

    Uninstalling cordova and then installing it worked for me.

    cd /usr/local/lib/node_modules/
    sudo npm uninstall -g cordova
    sudo npm install -g cordova
    

提交回复
热议问题