bun icon indicating copy to clipboard operation
bun copied to clipboard

Bun install does nothing other than add bun.lockb and a folder

Open aquapi opened this issue 3 years ago • 1 comments

What version of Bun is running?

0.3.0

What platform is your computer?

Microsoft Windows NT 10.0.22621.0 x64

What steps can reproduce the bug?

Use bun init and bun add bun-types

What is the expected behavior?

node_modules/bun-types should have d.ts files

What do you see instead?

the installed package has nothing image

Additional information

No response

aquapi avatar Dec 22 '22 18:12 aquapi

Seems to work now with [email protected] − as tested on WSL:

$ bun -v
0.4.0
$ bun init
bun init helps you get started with a minimal project and tries to guess sensible defaults. Press ^C anytime to quit

package name (test-bun):
entry point (index.ts):

Done! A package.json file was saved in the current directory.
 + index.ts
 + .gitignore
 + tsconfig.json (for editor auto-complete)
 + README.md

To get started, run:
  bun run index.ts

$ bun add bun-types
bun add v0.4.0 (a94bba63)

 installed [email protected]

[32.00ms] done
$ ls node_modules/bun-types
README.md  package.json  types.d.ts

alexlamsl avatar Dec 31 '22 11:12 alexlamsl