Skip to content

Getting error setting up serverΒ #8

@niklabh

Description

@niklabh

on command npx convex dev

Getting error

β ‹ Preparing Convex functions...
✘ [ERROR] Could not resolve "convex/server"

    convex-virtual-config:./convex/convex.config.js:1:26:
      1 β”‚ import { defineApp } from "convex/server";
        β•΅                           ~~~~~~~~~~~~~~~

  You can mark the path "convex/server" as external to exclude it from the bundle, which will remove
  this error and leave the unresolved path in the bundle.
βœ– esbuild failed: Error: Build failed with 1 error:
convex-virtual-config:./convex/convex.config.js:1:26: ERROR: Could not resolve "convex/server"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions