You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug? bug
What is the current behavior?
Yarn keeps installing devDependencies regardless of --prod flag. Tested with --prod, --production, production=true, NODE_ENV=production.
Running npm install --prod=true results the correct node_modules.
If the current behavior is a bug, please provide the steps to reproduce.
run yarn install --prod
check node_modules and @types or prisma2 folders are there.
What is the expected behavior?
run yarn install --prod
only install dependencies that listed inside dependencies
Something definitely seems wrong with that 😕
I noticed that it also stops installing prisma2 if you delete the devDependency@prisma/photon
With --verbose it notes that prisma2 is a peerDependency of @prisma/photon but @prisma/photon shouldn't be installed since it is a devDependency anyway.
Also yarn list --prod doesn't list prisma2 at all 🤷♂
Yarn 1.21.1 and tested with Yarn >1.*
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Yarn keeps installing devDependencies regardless of
--prod
flag. Tested with--prod
,--production
,production=true
,NODE_ENV=production
.Running
npm install --prod=true
results the correctnode_modules
.If the current behavior is a bug, please provide the steps to reproduce.
yarn install --prod
node_modules
and@types
orprisma2
folders are there.What is the expected behavior?
yarn install --prod
dependencies
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: