a16z-infra / ai-town

A MIT-licensed, deployable starter kit for building and customizing your own version of AI town - a virtual town where AI characters live, chat and socialize.
https://convex.dev/ai-town
MIT License
7.4k stars 678 forks source link

Meet [Could not resolve "convex/values"] when running on Linux system #232

Closed a-Fomalhaut-a closed 4 months ago

a-Fomalhaut-a commented 4 months ago

I tried to run this code on Linux (ubuntu 22.04), when I tried to run the npm run dev command, I encountered the following error. Sincerely ask how to solve

✘ [ERROR] Could not resolve "convex/values"

convex/aiTown/schema.ts:1:18:
  1 │ import { v } from 'convex/values';
    ╵                   ~~~~~~~~~~~~~~~

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