Comments (11)
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
from vscode-extension-vscode.
Error installing vscode.d.ts: Error: read ECONNRESET
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: vscode-install && node ./node_modules/vscode/bin/install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\zhangyunjin\AppData\Roaming\npm-cache_logs\2019-01-21T02_16_08_792Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: cd extension && npm install && cd ..
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\zhangyunjin\AppData\Roaming\npm-cache_logs\2019-01-21T02_16_08_883Z-debug.log
from vscode-extension-vscode.
configuration in package.json
"scripts": {
"update-vscode": "vscode-install",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "vscode-install && node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
}
from vscode-extension-vscode.
all the repos could not run "npm install" now, even if vscode demo "mock debug"
from vscode-extension-vscode.
This sounds like an issue with your internet connection ("ECONNRESET") and not VSCode. I suggest you look into that.
from vscode-extension-vscode.
Maybe, I am in china, I just tried to create an ECS machine in american. and run "npm install". It success. the output is as following:
Detected VS Code engine version: ^1.23.0
Found minimal version that qualifies engine range: 1.23.0
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45/src/vs/vscode.d.ts
vscode.d.ts successfully installed!
And my local machine in china always get this failure:
Detected VS Code engine version: ^1.23.0
Error installing vscode.d.ts: Error: read ECONNRESET
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `vscode-install && node ./node_modules/vscode/bin/install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
could you confirm this is a network error, and do I have any way to solve this problem?
from vscode-extension-vscode.
@bpasero by the way, I have tried to use VPN to enable my local machine to access to american net, but always get this error.
from vscode-extension-vscode.
@bpasero we have finally resolved the problem. the situation is:
IN CHINA
- node v8.12.0 could not work, because "getURLMatchingEngine" failed with url "https://vscode-update.azurewebsites.net/api/releases/stable"
- node v10.15.0 could work
IN AMERICAN
both node v8.12.0 and node v10.15.0 could work
from vscode-extension-vscode.
- windows 10 64bit;
- node 10.16.0;
- npm 6.9.0
> [email protected] postinstall C:\Users\ghc-xianghongai\me\add-ons\vscode-opened-editors
> node ./node_modules/vscode/bin/install
Detected VS Code engine version: *
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/master/src/vs/vscode.d.ts
Error installing vscode.d.ts: Error: read ECONNRESET
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node ./node_modules/vscode/bin/install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\nodejs\node_cache\_logs\2019-12-26T03_11_22_106Z-debug.log
from vscode-extension-vscode.
windows 10 64bit;
node 10.16.1;
npm 6.9.0
[email protected] postinstall C:\TP\files\work\vscode-node-debug2-1.42.1
node ./node_modules/vscode/bin/installDetected VS Code engine version: ^1.31.0
Found minimal version that qualifies engine range: 1.31.0
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/7c66f58312b48ed8ca4e387ebd9ffe9605332caa/src/vs/vscode.d.ts
Error installing vscode.d.ts: Error: read ECONNRESET
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall:node ./node_modules/vscode/bin/install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program Files\nodejs\node_cache_logs\2020-04-02T23_34_46_039Z-debug.log
from vscode-extension-vscode.
That error would indicate that you failed to connect to GitHub. Can you check if you are able to connect to https://raw.githubusercontent.com/Microsoft/vscode/7c66f58312b48ed8ca4e387ebd9ffe9605332caa/src/vs/vscode.d.ts?
from vscode-extension-vscode.
Related Issues (20)
- Failed to get code binary when testing in environment that needs to use strictSSL:false HOT 1
- Missing error messages for bad setup HOT 1
- Add functionality to change locale in VS Code test instance HOT 16
- Servers(child processes) are cashing HOT 1
- `node ./node_modules/vscode/bin/install` won't detect VSCode engine in ubuntu docker container HOT 5
- Error installing vscode.d.ts: Error: Request returned status code: 500 HOT 3
- Split module into @types/vscode and vscode-test HOT 8
- Can this module point to microsoft/vscode? HOT 3
- Switch to yarn instead of npm HOT 2
- Pass mocha options for easier CI test reports HOT 2
- Remove lib/shared and update install script
- Move test runner to `vscode-test` HOT 1
- Unable to use local URIs with vscode-resource HOT 1
- Local VSCode No Longer Installed as `stable`... HOT 6
- diff security vulnerability HOT 3
- Wrong node version for extension HOT 1
- [JS] eslint complains: "Unable to resolve path to module 'vscode'" HOT 1
- Can extensions have control for hiding context menus like Add Logpoint.. HOT 1
- Failed to execute fetch TypeError: Cannot read property '0' of undefined HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-extension-vscode.