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
What do you think should be the behavior? Should Corepack call <pkg-manager> init in such case? Or just create a package.json with only the "packageManager" field?
When a package.json file is missing,
corepack use
fails with ENOENT.I think it would be great if corepack could create the package.json file when its missing.
It would avoid the need to call
npm init -y
,yarn init -y
, orpnpm init
in some cases.The text was updated successfully, but these errors were encountered: