uNetworking / uWebSockets.js

μWebSockets for Node.js back-ends :metal:
Apache License 2.0
7.76k stars 563 forks source link

Bun install fails #966

Closed doloboyz closed 11 months ago

doloboyz commented 11 months ago

When attempting to install uWebSockets.js with the command provided in the README, install fails. The following is the output of running the command:

bun install uNetworking/uWebSockets.js#v20.31.0
zsh: no matches found: uNetworking/uWebSockets.js#v20.31.0

The same command without version specification results in the following output:

 bun install uNetworking/uWebSockets.js
bun add v1.0.1 (31aec4eb)
  🚚 uNetworking/uWebSockets.js [2/2] error: InstallFailed extracting tarball for uNetworking/uWebSockets.

error: "package.json" for "uNetworking/uWebSockets.js" failed to open: FileNotFound
Jarred-Sumner commented 11 months ago

This is a bug in Bun, not in uWebSockets - please file an issue in Bun's repository

doloboyz commented 11 months ago

This is a bug in Bun, not in uWebSockets - please file an issue in Bun's repository

Sorry just saw this. I'll recreate the issue in the Bun repo.

just-maik commented 1 month ago

According to https://github.com/oven-sh/bun/issues/5870 this occurs because this repository does not provide a package.json file.

uNetworkingAB commented 1 month ago

This repository does provide a package.json. The issue is that you've skipped the readme where you have extensive info on installation. You're referencing an issue in which the person have just fine whatever he thought. Read the readme

uNetworkingAB commented 1 month ago

Autocorrect is shit