Open indrazm opened 1 week ago
Do you have omit=dev
in a .npmrc
file? I believe this is happening because bun isn't reading the omit
config setting
Hey @dylan-conway yes. it's there. But still installing the devDependencies. Here is what i have did :
npm ci ✅
npm i ✅
bun i ❌
bun i --production ❌
bun i --omit=dev ❌
✅ installing only dependencies ❌ include the devDependencies
Current way to fix this at the moment is : npm prune
What version of Bun is running?
1.1.21+70ca2b76c
What platform is your computer?
Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
I am currently build an npm package with bun. However when i do install. It will install
extraneous
dependencies.if i do
bun i
it will install me all dependencies, even the devDependencies. But if i donpm i
it will install me only dependencies, NOT devDependencies.Here is my package.json.
What is the expected behavior?
The expected behaviour is only Install Dependencies, without devDependencies.
What do you see instead?
This is when i do install using
bun
.This is when i do install using
npm
.Additional information
No response