I also had tried NODE_TLS_REJECT_UNAUTHORIZED=0 but to no avail. Would you 
be able to give me the exact steps for the source?
 After I remove node-v5.1.0/ , what do I do?


On Monday, November 30, 2015 at 5:01:07 PM UTC-5, Ben Noordhuis wrote:
>
> On Mon, Nov 30, 2015 at 6:42 PM, Wyatt Biker <[email protected] 
> <javascript:>> wrote: 
> > I am behind corporate proxy. I ve tried everything under the sun with 
> flags 
> > and configs. (yes i set up the --proxy and --https-proxy).  I reverted 
> back 
> > to 0.12 and everything works fine. 
> > 
> > Any ideas? 
> > 
> > Here is the message: 
> > Enter node package to install: ws 
> > Enter -g for global install: 
> > 
> >> [email protected] install /mnt/mydir/mytest/node_modules/bufferutil 
> >> node-gyp rebuild 
> > 
> > 
> > gyp WARN install got an error, rolling back install 
> > gyp ERR! configure error 
> > gyp ERR! stack Error: unable to verify the first certificate 
> > gyp ERR! stack     at Error (native) 
> > gyp ERR! stack     at TLSSocket.<anonymous> (_tls_wrap.js:1057:38) 
> > gyp ERR! stack     at emitNone (events.js:67:13) 
> > gyp ERR! stack     at TLSSocket.emit (events.js:166:7) 
> > gyp ERR! stack     at TLSSocket._finishInit (_tls_wrap.js:596:8) 
> > gyp ERR! System Linux 2.6.32-573.1.1.el6.x86_64 
> > gyp ERR! command "/mnt/node/bin/node" 
> > "/mnt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" 
> > "rebuild" 
> > gyp ERR! cwd /mnt/mydir/mytest/node_modules/bufferutil 
> > gyp ERR! node -v v5.1.0 
> > gyp ERR! node-gyp -v v3.0.3 
> > gyp ERR! not ok 
> > npm WARN install:[email protected] [email protected] install: `node-gyp 
> > rebuild` 
> > npm WARN install:[email protected] Exit status 1 
>
> node-gyp is telling you that the TLS certificate doesn't check out. 
> If your proxy uses a self-signed certificate, try setting 
> NODE_TLS_REJECT_UNAUTHORIZED=0 in the environment. 
>
> Alternatively, and more securely, you can download the source tarball 
> manually from https://nodejs.org/dist/v5.1.0/node-v5.1.0-headers.tar.gz 
> and extract it to $HOME/.node-gyp/5.1.0.  Pass --strip-components=1 to 
> tar to remove the node-v5.1.0/ directory prefix from the files in the 
> tarball. 
>
> You can find GPG-signed SHA256 checksums in 
> https://nodejs.org/dist/v5.1.0/SHASUMS256.txt.asc to verify the 
> tarball after downloading. 
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1a356175-f551-45ad-be11-a42fec713bfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to