Tuesday, June 11, 2013

Node Package Manager (NPM)

It took me a while to determine that I had to configure NPM to not care about SSL Certificates.  Until then, when I was trying to install a package, I would get Cert CA errors.  Use this:

npm config set strict-ssl false

I also discovered that installing certain packages failed with messages indicating python problems.  I suspect that the Angstrom image doesn't have all the necessary dependencies for NPM installed.  Use this to get NPM working smoothly:

opkg update
opkg install python-modules
opkg install task-native-sdk

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.