shanghuangS
Convex Community3y ago
20 replies
shanghuang

Could not resolve "convex/server"

 convex/_generated/server.js:20:7:
      20 │ } from "convex/server";
         ╵        ~~~~~~~~~~~~~~~

  The Yarn Plug'n'Play manifest forbids importing "convex" here because
  it's not listed as a dependency of this package:

    ../.pnp.cjs:45:33:
      45 │           "packageDependencies": [
         ╵                                  ^

  You can mark the path "convex/server" as external to exclude it from
  the bundle, which will remove this error.


I run this error while trying to create the "convex/tasks.ts" from the NextJS quickstart.
Was this page helpful?