We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.42+50eec0025
Microsoft Windows NT 10.0.26100.0 x64
Run bun pm cache in a non-project directory
bun pm cache
PS C:\Users\me> bun pm cache C:\Users\me\.bun\install\cache
PS C:\Users\me> bun pm cache error: No package.json was found for directory "C:\Users\me" note: Run "bun init" to initialize a project
PackageManager doesn't appear like it can be created without a package.json (code).
PackageManager
package.json
I'm not sure if this makes sense, since the Global Cache should fall back to the Global Config (.bunfig.toml) if run outside of a project.
.bunfig.toml
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.42+50eec0025
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
Run
bun pm cache
in a non-project directoryWhat is the expected behavior?
What do you see instead?
Additional information
PackageManager
doesn't appear like it can be created without apackage.json
(code).I'm not sure if this makes sense, since the Global Cache should fall back to the Global Config (
.bunfig.toml
) if run outside of a project.The text was updated successfully, but these errors were encountered: