Cordova error 'cannot find bplist-parser'

The problem seems to have mysteriously solved itself.
Thanks for the help guys, sorry I couldn’t provide more detailed instructions for those who may have found this via search.

npm install -g bplist-parser

Try “npm update -g”.

1 Like

I am having the same issue with Cordova. I have tried the below to no success:

  • node uninstall and AppData wipe.
  • npm install -g cordova@5.3.3 (colleague’s working version)
  • npm install -g bplist-parser (installed but doesn’t fix issue)
  • npm update -g
  • and a number of other things…

My environment:
Windows 7
npm -v 2.11.3
ionic -v 1.7.7
cordova -v -> command doesn’t run, get error as above
node -v 0.12.7

I had the same problem in Ubuntu.

It’s an issue with node and npm versions; you need to use node v4 and the latest npm.

You also need to uninstall the old Cordova and manually delete the global node_modules directory.
Thereafter just reinstall Cordova and everything should be working.

I had the same issue on Ubuntu 14.04 LTS and thought I would post what ended up working for me.
I am a novice with node (first project with it) I went through the same process as mentioned up above a couple times.
Uninstalling everything, installing the latest version of Node and npm.
Unfortunately none of this solved the issue.

I realized its simply a linking issue within the cordova package.
After spending more time than I wanted fumbling around this is what I did:

cd /usr/local/lib/node_modules/
sudo npm install

cd /usr/local/lib/node_modules/cordova/node_modules/
sudo npm install

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

This fixed it for me. The same concept might help your Windows issue.
I know this just added a bunch of unnecessary modules in those folders, but it works.
Good Luck.

1 Like

It is work! Cordova was install
Thank you, bstockman25

cd /usr/local/lib/node_modules/
sudo npm install

cd /usr/local/lib/node_modules/cordova/node_modules/
sudo npm install

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

For Ubuntu 14.04 x64

Installing (or updating) Node.js and updating npm

$ sudo apt-get install curl
$ curl --silent --location | sudo bash -
$ sudo apt-get install nodejs

$ sudo npm install npm -g

$ node -v

$ npm -v


$ sudo npm install -g cordova

$cordova -v