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
Given a Hono project under Node.js using the Yarn package manager with Yarn PnP enabled, when attempting to import @hono/node-server, then the import fails with the message
The Yarn Plug'n'Play manifest forbids importing "hono" here because it's not listed as a
dependency of this package:
This is because @hono/node-server uses imports from hono (e.g. here) without declaring it as either a dependency or a peer dependency.
Given a Hono project under Node.js using the Yarn package manager with Yarn PnP enabled, when attempting to import
@hono/node-server
, then the import fails with the messageThis is because
@hono/node-server
uses imports fromhono
(e.g. here) without declaring it as either a dependency or a peer dependency.A possible workaround at the moment is to set
in your
.yarnrc.yml
The text was updated successfully, but these errors were encountered: