Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Resolving cannot find NPM module error when installing cordova plugins

Posted: March 25, 2016
Written by: Saints At Play
Category: Node JS

After updating both the local Ionic and Cordova versions for an iOS project we encountered the following error while attempting to install some Cordova plugins from the command line:

module.js:340
    throw err;
          ^
Error: Cannot find module 'bplist-parser'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object. (/Users/joebloggs/.nvm/v0.10.26/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:20:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Not a good sign!

Thankfully the fix to this takes less than a few seconds to implement...

More »

Resolving node module did not self register errors

Posted: March 15, 2015
Written by: Saints At Play
Category: Node JS

If you've recently updated your existing Node installation to v0.12 and have success with starting your server then congratulations. However it might be the case that you are experiencing the following error warning when trying to launch your Express Framework application from the command line:

[Error: Module did not self-register.]

Not the best result right? Here's how we resolved the issue and got our Express apps working again.

More »

Resolving npm ERR! cb() never called errors

Posted: March 14, 2015
Written by: Saints At Play
Category: Node JS

This was one extremely annoying error that we kept encountering when trying to update existing node packages using the Node Package Manager from the command line:

npm ERR! cb() never called!

After much googling (interrupted by intermittent bouts of swearing at the computer) we finally found a solution to the problem.

More »

Resolving NPM cannot install dependencies - asset locked errors

Posted: October 17, 2014
Written by: Saints At Play
Category: Node JS

Here's a frustrating error you may have encountered when trying to install software using the npm command: NPM cannot install dependencies - Attempt to unlock xxxx which hasn't been locked.

Thankfully the fix is really simple, providing you don't mind getting your fingers dirty at the command line...

More »

Latest Tweets

  • #Facebook’s #FacialRecognition tool faces class action suit over mishandling #biometric #data

    twitter.com/i/web/status/9… Published 5 days ago
  • #ElonMusk drafts in humans after #Robots slow down #teslamodel3 production

    twitter.com/i/web/status/9… Published 5 days ago
  • Mastering @ionicframework #appdevelopment

    twitter.com/i/web/status/9… Published 12 days ago
  • Working with #php & #sqlite in @Ionicframework #Apps

    twitter.com/i/web/status/9… Published 13 days ago
  • Take the Wolfowitz doctrine add the Project for a new American Century combine with compliant/compromised… https

    twitter.com/i/web/status/9… Published 13 days ago
  • First the #RussianSpyPoisoning, now the #SyriaGasAttack - NO independently verified evidence for ANY of the… https

    twitter.com/i/web/status/9… Published 13 days ago
  • The whole #SyriaGasAttack narrative (repeated HOW many times over the past 5 years??! [each time independent inspec… https

    twitter.com/i/web/status/9… Published 13 days ago
  • Managing @ionicframework #application #data with #pouchdb

    twitter.com/i/web/status/9… Published 13 days ago
  • Developing cross platform @Ionicframework #apps with #capacitor

    twitter.com/i/web/status/9… Published 14 days ago
  • #AssadHitsDoumawithChemicals right when he's on the verge of #victory??? Yeah, that makes sense..I totally trust ou… https

    twitter.com/i/web/status/9… Published 16 days ago
  • How many times has the #West tried to blame #Assad for every single previous #ChemicalAttack in #Syria and been pro… https

    twitter.com/i/web/status/9… Published 16 days ago
  • Even #CaptainAmerica needs some #MeTime! https

    Published 17 days ago
  • Share your @Ionicframework #ebook testimonial here

    twitter.com/i/web/status/9… Published 17 days ago
  • @historylvrsclub Enough with the liberal, pro-migrant narrative @historylvrsclub. It was an American family and Ame… https

    twitter.com/i/web/status/9… Published 18 days ago
  • Unit testing @ionicframework #apps with #jest

    twitter.com/i/web/status/9… Published 18 days ago
  • @historylvrsclub Conor McGregor!

    Published 19 days ago
  • @historylvrsclub Yeah, it’s called chemical enhancement

    Published 19 days ago
  • @historylvrsclub Enough with the lies/sneaky liberal agenda @historylvrsclub - He was the abandoned son of a Syrian… https

    twitter.com/i/web/status/9… Published 19 days ago
  • Using #angular pipes with @ionicframework #apps

    twitter.com/i/web/status/9… Published 19 days ago
  • Share your experiences with my @ionicframework #ebooks

    twitter.com/i/web/status/9… Published 20 days ago