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
I'm using yarn with Next.js v14, which declares some optional dependencies. When I run yarn synp --source-file yarn.lock those dependencies do not get carried over into package-lock.json. When I start the next dev server, I see this:
⚠ Found lockfile missing swc dependencies, patching...
⚠ Lockfile was successfully patched, please run "npm install" to ensure @next/swc dependencies are downloaded
So, clearly it expected those optional dependencies to be reflected in the package-lock.json, but I can't get synp to generate a file that includes them.
Issue description:
I'm using yarn with Next.js v14, which declares some optional dependencies. When I run
yarn synp --source-file yarn.lock
those dependencies do not get carried over intopackage-lock.json
. When I start thenext
dev server, I see this:So, clearly it expected those optional dependencies to be reflected in the
package-lock.json
, but I can't getsynp
to generate a file that includes them.Relevant snippet of
yarn.lock
:Relevant snippet of
package.json
:The text was updated successfully, but these errors were encountered: