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

node_modules packages are empty after bun install #16288

Open
Areshkew opened this issue Jan 9, 2025 · 0 comments
Open

node_modules packages are empty after bun install #16288

Areshkew opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client needs investigate Needs to be investigated to find the root cause

Comments

@Areshkew
Copy link

Areshkew commented Jan 9, 2025

What version of Bun is running?

1.1.43+76800b049

What platform is your computer?

Linux 6.8.0-51-generic x86_64 x86_64

What steps can reproduce the bug?

% bun i           
bun install v1.1.43 (76800b04)

+ [email protected]
+ @types/[email protected]
+ [email protected]

11 packages installed [4.00ms]

~/test
% ls node_modules/elysia 
(empty)

What is the expected behavior?

Packages properly installed:

(test with npm i)

~/test
% ls node_modules/elysia
dist  bunfig.toml  LICENSE  package.json  README.md

What do you see instead?

Empty package folders

Additional information

  • Ubuntu 22.04.
  • My bun installation is located in a hdd formatted as ext4. (/home is partitioned)
  • Tried bun pm cache rm but this is happening in any project, not a specific one.
  • Reinstalled bun and reinstalled older versions of bun and still the same.

Verbose bun i

 bun i --verbose
bun install v1.1.43 (76800b04)
Loaded 11 hoisted_dependencies
Loaded 13 resolutions
Loaded 13 dependencies
Loaded 4 extern_strings
Loaded 756 string_bytes
Clean lockfile: 12 packages - 12 packages in 194.8us

-- BEGIN SHA512/256(`${alphabetize(name)}@${order(version)}`) --
@sinclair/[email protected]
@types/[email protected]
@types/[email protected]
@types/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
-- END HASH--

3 packages installed [99.00ms]
@Areshkew Areshkew added bug Something isn't working needs triage labels Jan 9, 2025
@DonIsaac DonIsaac added bun install Something that relates to the npm-compatible client needs investigate Needs to be investigated to find the root cause and removed needs triage labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client needs investigate Needs to be investigated to find the root cause
Projects
None yet
Development

No branches or pull requests

2 participants