-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
bugSomething isn't workingSomething isn't workingbun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible client
Description
What version of Bun is running?
1.0.1+31aec4ebe325982fc0ef27498984b0ad9969162b
What platform is your computer?
Darwin 21.6.0 arm64 arm
What steps can reproduce the bug?
Have a local repo that is a regular npm module with a "bin" path in package.json. Example:
git clone https://github.com/piuccio/cowsay.git
cd cowsay
What is the expected behavior?
I can install the npm module globally from my local copy by referencing the folder. If im in the root dir I can refer to the module with . or ./
bun install -g .
The command cowsay should now be globally available.
What do you see instead?
When running
bun install -g .
We get the error
bun add v1.0.1 (31aec4eb)
error: MissingPackageJSON
note: error occured while resolving .
Additional information
Bun for the win!
mikesprague, Dugnist, f-tsang and Zeryther
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible client