continue icon indicating copy to clipboard operation
continue copied to clipboard

Error downloading pre-built esbuild binary for darwin-arm64?

Open kivo360 opened this issue 1 year ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS: macos 14.4.1
- Continue: 0.8.24
- IDE: vscode

Description

I'm trying to download the esbuild for darwin-arm64. It's telling me the binary doesn't exist.

Is there anyway around this problem? Should I download x86, even though it's likely to be incompatible with most of my build environments?

To reproduce

  1. Setup a mac environment with an arm processor (M1 - M3)
  2. Go to extensions/vscode
  3. Run yarn install
  4. Execute npm link @continuedev/core
  5. Run yarn package

Log output

[info] Using target:  darwin-arm64
[info] Packaging extension for target  darwin-arm64
[info] npm install in extensions/vscode completed
[info] npm install in gui completed
[info] Copied gui build to Intellij extension
Copied gui build to VSCode extension
[info] Copied onnxruntime-node
[info] Copied tree-sitter wasms
[info] Downloading pre-built lancedb binary
npm WARN using --force Recommended protections disabled.
[info] Downloading pre-built esbuild binary
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) Recv failure: Connection reset by peer
Error executing command 'curl -o node_modules/@esbuild/esbuild.zip https://continue-server-binaries.s3.us-west-1.amazonaws.com/darwin-arm64/esbuild.zip':  ,,  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) Recv failure: Connection reset by peer

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

kivo360 avatar May 15 '24 23:05 kivo360