Skip to content

Build fails due to resource missing (404) #20907

@ghost

Description

  • VSCode Version: Master
  • OS Version: macOS 10.12.3

Steps to Reproduce:

  1. git clone [email protected]:Microsoft/vscode.git
  2. cd vscode
  3. ./scripts/npm.sh install
> [email protected] install ~/dir/vscode/node_modules/fsevents
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack Error: 404 response downloading https://atom.io/download/atom-shell/v6.9.5/node-v6.9.5-headers.tar.gz
gyp ERR! stack     at Request.<anonymous> (~/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:210:14)
gyp ERR! stack     at emitOne (events.js:101:20)
gyp ERR! stack     at Request.emit (events.js:188:7)
gyp ERR! stack     at Request.onRequestResponse (~/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/request/request.js:954:10)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at ClientRequest.emit (events.js:188:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:474:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:363:20)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! System Darwin 16.4.0
gyp ERR! command "~/.nvm/versions/node/v6.9.5/bin/node" "~/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd ~/dir/vscode/node_modules/fsevents
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 

> [email protected] install ~/dir/vscode/node_modules/oniguruma
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack Error: 404 response downloading https://atom.io/download/atom-shell/v6.9.5/node-v6.9.5-headers.tar.gz
gyp ERR! stack     at Request.<anonymous> (~/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:210:14)
gyp ERR! stack     at emitOne (events.js:101:20)
gyp ERR! stack     at Request.emit (events.js:188:7)
gyp ERR! stack     at Request.onRequestResponse (~/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/request/request.js:954:10)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at ClientRequest.emit (events.js:188:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:474:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:363:20)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! System Darwin 16.4.0
gyp ERR! command "~/.nvm/versions/node/v6.9.5/bin/node" "~/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd ~/dir/vscode/node_modules/oniguruma
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Darwin 16.4.0
npm ERR! argv "~/.nvm/versions/node/v6.9.5/bin/node" "~/.nvm/versions/node/v6.9.5/bin/npm" "install"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the oniguruma package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs oniguruma
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls oniguruma

curl -I https://atom.io/download/atom-shell/v6.9.5/node-v6.9.5-headers.tar.gz

HTTP/1.1 302 Found
Server: Cowboy
Connection: keep-alive
Date: Mon, 20 Feb 2017 06:06:46 GMT
Status: 302 Found
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=631152000
Content-Security-Policy: default-src 'self'; connect-src 'self'; font-src https://github-atom-io-herokuapp-com.global.ssl.fastly.net; frame-src 'self' https://www.youtube.com; img-src https://* 'self' https://github-atom-io-herokuapp-com.global.ssl.fastly.net data:; media-src 'none'; object-src 'self' https://github-atom-io-herokuapp-com.global.ssl.fastly.net; script-src 'self' 'unsafe-inline' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com https://github-atom-io-herokuapp-com.global.ssl.fastly.net; style-src 'self' 'unsafe-inline' https://github-atom-io-herokuapp-com.global.ssl.fastly.net;
Location: https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v6.9.5/node-v6.9.5-headers.tar.gz
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: 9330fe92-6732-41a3-838f-990b7fcd0447
X-Runtime: 0.017456
X-Rack-Cache: miss
Via: 1.1 vegur

curl -I https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v6.9.5/node-v6.9.5-headers.tar.gz

HTTP/1.1 404 Not Found
x-amz-request-id: A0B099C28B0B2F3E
x-amz-id-2: 90hmcdnkHz+zEhAZECJg/imH/PyVetaNnh2uwHjR7naCJPnXJXrwJSLIo/HplCJxnvdXcEGi5XM=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Mon, 20 Feb 2017 06:08:58 GMT
Server: AmazonS3

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions