exogen / postinstall-build

Helper for conditionally building your npm package on postinstall
MIT License
90 stars 12 forks source link

Feeling out npm #24

Open josephrth opened 7 years ago

josephrth commented 7 years ago

I've been using Termux a lot lately. I ran npm ping I got this : npm ping undefined npm ERR! Linux 3.10.84-perf-gffac582 npm ERR! argv "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/usr/bin/npm" "ping" npm ERR! node v6.10.3 npm ERR! npm v3.10.10

npm ERR! error:0906D06C:PEM routines:PEM_read_bio:no start line npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /data/data/com.termux/

I haven't been able to see what I can do in this

exogen commented 7 years ago

Hi @josephrth, it looks like a network or SSL issue with npm (most likely not one that postinstall-build is causing, but let's find out). I checked out these issues on the npm repo: npm/npm#10897, npm/npm#16116, npm/npm#8803. Those all seem to suggest that running this command first may help:

npm config set registry http://registry.npmjs.org