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

Broken module on Windows using Bun #1375

Open
3 tasks done
garysassano opened this issue Dec 2, 2024 · 0 comments
Open
3 tasks done

Broken module on Windows using Bun #1375

garysassano opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@garysassano
Copy link

Which package has the bugs?

The core library

Issue description

PS C:\Users\User\Desktop\APP> bun i
[0.00ms] ".env"
bun install v1.1.38 (bf2f153f)
  ⚙️  deasync [1/1] `win32-x64-node-22` exists; testing
Problem with the binary; manual build incoming
stdout=
err=Error: Command failed: C:\Users\User\AppData\Local\Temp\bun-node-bf2f153f5\node.exe quick-test.js

C:\Users\User\Desktop\APP\node_modules\deasync>if not defined npm_config_node_gyp (bun x --silent node-gyp rebuild )  else (node "" rebuild )


gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info find Python using Python version 3.10.11 found at "C:\Program Files\Python310\python.exe"
gyp http GET https://nodejs.org/dist/v22.6.0/node-v22.6.0-headers.tar.gz
gyp http 200 https://nodejs.org/dist/v22.6.0/node-v22.6.0-headers.tar.gz
### LINE REPEATED 2367 TIMES
gyp ERR! error while extracting tarball TAR_ENTRY_ERROR
### LINE REPEATED 2367 TIMES
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: There was a fatal problem while downloading/extracting the tarball
gyp ERR! stack at <anonymous> (C:\Users\User\AppData\Local\Temp\bunx-3337666660-node-gyp@latest\node_modules\node-gyp\lib\install.js:254:21)
gyp ERR! stack at processTicksAndRejections (native:7:39)
gyp ERR! System Windows_NT 10.0.19044
gyp ERR! command "C:\\Users\\User\\AppData\\Local\\Temp\\bun-node-bf2f153f5\\node.exe" "C:\\Users\\User\\AppData\\Local\\Temp\\bunx-3337666660-node-gyp@latest\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\User\Desktop\APP\node_modules\deasync
gyp ERR! node -v v22.6.0
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not ok
Build failed

error: install script from "deasync" exited with 1
PS C:\Users\User\Desktop\APP> bun i
[1.00ms] ".env"
bun install v1.1.38 (bf2f153f)

Done! Checked 90 packages (no changes) [46.00ms]
PS C:\Users\User\Desktop\APP>

Code sample

No response

Package version

3.4.5

Node.js version

Bun 1.1.38

Operating system

No response

Priority this issue should have

Medium (should be fixed soon)

Checklist

  • I have searched the open issues for duplicates.
  • I have shared the entire traceback.
  • I am using a user token (and it isn't visible in the code).

Additional Information

No response

@garysassano garysassano added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant