https://pulumi.com logo
#general
Title
# general
p

polite-helmet-87481

12/24/2018, 4:53 PM
Copy code
root@dev:~/test/examples/aws-js-webserver# npm install
npm WARN package.json webserver@0.1.0 No repository field.
npm http GET <https://registry.npmjs.org/pulumi/pulumi>
npm http GET <https://registry.npmjs.org/pulumi/aws>
npm http GET <https://registry.npmjs.org/pulumi/pulumi>
npm http GET <https://registry.npmjs.org/pulumi/aws>
npm http GET <https://registry.npmjs.org/pulumi/aws>
npm http GET <https://registry.npmjs.org/pulumi/pulumi>
npm ERR! Error: failed to fetch from registry: pulumi/aws
npm ERR!     at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:134:18)
npm ERR!     at cb (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:27:9)
npm ERR!     at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:148:10)
npm ERR!     at cb (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:158:9)
npm ERR!     at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:223:20)
npm ERR!     at self.callback (/usr/lib/nodejs/request/index.js:148:22)
npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
npm ERR!     at ClientRequest.self.clientErrorHandler (/usr/lib/nodejs/request/index.js:258:10)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:95:17)
npm ERR!     at CleartextStream.socketErrorListener (http.js:1561:9)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.13.0-163-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/user/test/examples/aws-js-webserver
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/user/test/examples/aws-js-webserver/npm-debug.log
npm ERR! not ok code 0
Also did a little digging
Copy code
root@dev:~/test/examples/aws-js-webserver# curl -s <https://registry.npmjs.org/pulumi/pulumi>
{"code":"MethodNotAllowedError","message":"GET is not allowed"}
root@dev:~/test/examples/aws-js-webserver# curl -i <https://registry.npmjs.org/pulumi/pulumi>
HTTP/1.1 405 Method Not Allowed
Date: Mon, 24 Dec 2018 16:51:30 GMT
Content-Type: application/json
Content-Length: 63
Connection: keep-alive
Set-Cookie: __cfduid=d745c4d85092196555247662fecaeb3b21545670290; expires=Tue, 24-Dec-19 16:51:30 GMT; path=/; domain=.<http://registry.npmjs.org|registry.npmjs.org>; HttpOnly
Allow: PUT
CF-RAY: 48e492b3a9297967-SEA
Expect-CT: max-age=604800, report-uri="<https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct>"
Server: cloudflare
root@dev:~/test/examples/aws-js-webserver# curl -is <https://registry.npmjs.org/pulumi/aws>
HTTP/1.1 405 Method Not Allowed
Date: Mon, 24 Dec 2018 16:53:01 GMT
Content-Type: application/json
Content-Length: 63
Connection: keep-alive
Set-Cookie: __cfduid=d3bfe6cf107fba72158cdd2bb7c000f5d1545670381; expires=Tue, 24-Dec-19 16:53:01 GMT; path=/; domain=.<http://registry.npmjs.org|registry.npmjs.org>; HttpOnly
Allow: PUT
CF-RAY: 48e494e9cf0c79cd-SEA
Expect-CT: max-age=604800, report-uri="<https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct>"
Server: cloudflare

{"code":"MethodNotAllowedError","message":"GET is not allowed"}