node.jsmeteornpmnpm-requestmeteor-useraccounts

Meteor: Can't add package useraccounts:bootstrap - npm.depends error


When I try to add useraccounts:bootstrap to my meteor project, I receive the following error...

Error: Can't find npm module 'request'. Did you forget to call 'Npm.depends' in package.js within the 'http' package?

What can I do to fix this?


Solution

  • I ended up following the instructions from this post and deleted the package-metadata folder within the main .meteor folder (OSX/Users/MacBookPro/.meteor).

    Restarted the server (waited about 30 minutes to restart) and the error was gone.