question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to exec postinstall script

See original GitHub issue

Hi, I am running the build behind the company proxy server. I getting this error. Pls could you advise how to run build working behind enterprise proxy, but have access to npm repos via artifactory.

>vscode-icons@7.4.0 postinstall C:\projects\vscode-icons-7.4.0
> node ./node_modules/vscode/bin/install

Detected VS Code engine version: ^1.6.0
error installing vscode.d.ts: Error: connect ECONNREFUSED xx.xx.xx.xx:443

npm info lifecycle vscode-icons@7.4.0~postinstall: Failed to exec postinstall script
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\softwares\\nodejs\\node.exe" "C:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-d"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! vscode-icons@7.4.0 postinstall: `node ./node_modules/vscode/bin/install`
npm ERR! Exit status 1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dashingsloth30commented, Jul 6, 2017

I installed latest version of Visual studio code. And it is able to download extensions via corporate proxy as well. Thanks a lot!

0reactions
robertohuertasmcommented, Apr 22, 2017

@pikeview I’m closing this due to inactivity. I’ll reopen it if you feel that we can do more here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues in npm post-install script - Stack Overflow
There is some error in npm post-install script. My project is based on Linux but due to issues i have to run the...
Read more >
postinstall script fails when running `npm install` - Drupal
When running npm install, the install fails at the postinstall script stage with error: > barebones@1.0.0 postinstall ...
Read more >
[v0.4.6] npm install fails because of postinstall script #129
Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script. What is the expected behavior? Install works. If this is a feature request, ...
Read more >
scripts - npm Docs
Description. The "scripts" property of your package.json file supports a number of built-in scripts and their preset life cycle events as well as...
Read more >
PostInstall script not running on MacOS - Apple Developer
How are you checking the postinstall script is failing? Are you examining /var/log/install.log (also in Console.app) to see if there are any messages?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found