zkat / npx

execute npm package binaries (moved)

Home Page:https://github.com/npm/npx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npx suffers from teapot error

btmurrell opened this issue · comments

the not-funny error from npm which reports "I'm a teapot" when run behind a proxy firewall is affecting npx. See the fixed issue for npm.

$ npx gulp
npm ERR! code E418
npm ERR! 418 I'm a teapot: gulp@latest

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/fubar/.npm/_logs/2018-08-02T21_45_53_438Z-debug.log
Install for gulp@latest failed with code 1

$ npx -v
6.2.0
$ npm -v
6.2.0
$ node -v
v10.8.0
$ uname -a
Darwin fubar 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64

can npx be updated with the npm fix? TIA.

The fix was server-side. And npx just calls out to npm for this work. Not sure why this is happening for you.