postinstall-build icon indicating copy to clipboard operation
postinstall-build copied to clipboard

Feeling out npm

Open josephrth opened this issue 8 years ago • 1 comments

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

josephrth avatar May 20 '17 08:05 josephrth

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

exogen avatar May 20 '17 08:05 exogen