Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install "esbuild-windows-64" #206

Closed
1 task
vgpechenkin opened this issue Sep 9, 2021 · 2 comments
Closed
1 task

Failed to install "esbuild-windows-64" #206

vgpechenkin opened this issue Sep 9, 2021 · 2 comments
Labels
bug Something isn't working pending triage

Comments

@vgpechenkin
Copy link

Bug description

Hi.
Thanks for your plugin. It really speeds up my project.
But I have a problem with esbuild and yarn 2 pnp when I try to build a project on CI.

I get error

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR Trying to install "esbuild-windows-64" using npm

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR Failed to install "esbuild-windows-64" using npm: Command failed: npm install --loglevel=error --prefer-offline --no-audit --progress=false esbuild-windows-64@0.12.25

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! code MODULE_NOT_FOUND

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! Cannot find module 'bin-links'

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! Require stack:

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\build.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\install\action\build.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\install\actions.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\install.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\npm.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\bin\npm-cli.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! Require stack:

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\build.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\install\action\build.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\install\actions.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\install.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\lib\npm.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! - d:\j\warface\Code\SDKs\nodejs\node-v14.17.4-win-x64\node_modules\npm\bin\npm-cli.js

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR 

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR! A complete log of this run can be found in:

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR npm ERR!     C:\Users\cucumber.ONLINE_MAIL\AppData\Roaming\npm-cache\_logs\2021-09-09T09_00_40_332Z-debug.log

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR 

[2021-09-09T09:00:40.483Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR Trying to download "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.12.25.tgz"

[2021-09-09T09:01:02.647Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR Failed to download "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.12.25.tgz": connect ETIMEDOUT 104.16.23.35:443

[2021-09-09T09:01:02.647Z] ➤ YN0000: │ esbuild@npm:0.12.25 STDERR Install unsuccessful

maybe you know what it can be connected with?

Reproduction

Build works locally but fails on CI.

Node.js package manager

yarn

Environment

System:
    OS: Windows 10 10.0.19042
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
    Memory: 9.70 GB / 31.93 GB
  Binaries:
    Node: 14.17.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 2.4.2 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD

Can you contribute a fix?

  • I’m interested in opening a pull request for this issue.
@vgpechenkin vgpechenkin added bug Something isn't working pending triage labels Sep 9, 2021
@privatenumber
Copy link
Owner

Thanks for the report but can you report this to esbuild?

esbuild is just a dependency of esbuild-loader so I don't have control over the esbuild distributions.

However, worth noting that esbuild-loader is using esbuild v0.12.21, which is the exact version that esbuild added the Windows x64 distribution. There hasn't been any Windows related changes since then.

@vgpechenkin
Copy link
Author

vgpechenkin commented Sep 10, 2021

@privatenumber
I found the issue in esbuild repo evanw/esbuild#789
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage
Projects
None yet
Development

No branches or pull requests

2 participants