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

Issue with building native dependencies when installing canvas #6179

Closed
sonigeez opened this issue Sep 29, 2023 · 2 comments
Closed

Issue with building native dependencies when installing canvas #6179

sonigeez opened this issue Sep 29, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@sonigeez
Copy link

What version of Bun is running?

1.0.0

What platform is your computer?

Darwin 22.5.0 arm64 arm

What steps can reproduce the bug?

  1. Run bun install canvas
  2. Observe that the installation completes without any errors
  3. Attempt to use the canvas module in a Node.js script
  4. Observe the failure due to missing native dependencies

What is the expected behavior?

The necessary build step to compile the native addon modules should be executed during installation, and the canvas module should work as expected.

What do you see instead?

The build step is not executed, leading to missing native dependencies and the canvas module not working as expected.

Additional information

i.g bun probably ignoring prebenchmark script in package.json file

@sonigeez sonigeez added the bug Something isn't working label Sep 29, 2023
@Electroid
Copy link
Contributor

Duplicate of #4959
Related to #5835

@Electroid Electroid closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
@Jarred-Sumner
Copy link
Collaborator

Fixed by @dylan-conway and @paperdave in #7132

This will be part of the Bun v1.0.17 release, which ships in a few hours from the time of writing.

In the meantime, you can run bun upgrade --canary

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

3 participants