Tyler Douglas
Tyler Douglas
CCConvex Community
Created by Tyler Douglas on 8/28/2024 in #support-community
Yarn error when not using Yarn?
I really want to use convex in my new Next.js project but after following the quick start guide I keep running into the same issue when I run "npx convex dev". I'm using npm, not yarn. Does anybody know how to fix this problem? ✘ [ERROR] 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:38:33: 38 │ "packageDependencies": [\ ╵ ~~ You can mark the path "convex/server" as external to exclude it from the bundle, which will remove this error.
11 replies