T
TanStack10mo ago
extended-salmon

How to run "npm run start" using Tanstack start?

Hello, After I have been running "npm run build" in the terminal, I though I could start it by running "npm run start", but I do get the following error: ERROR Cannot find module '/Users/mathias/GitHub/flowthings/.output/server/index.mjs' imported from /Users/mathias/GitHub/flowthings/node_modules/vinxi/bin/cli.mjs 11:32:37 AM at finalizeResolution (node:internal/modules/esm/resolve:263:11) at moduleResolve (node:internal/modules/esm/resolve:908:10) at defaultResolve (node:internal/modules/esm/resolve:1121:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38) at ModuleLoader.import (node:internal/modules/esm/loader:328:34) at importModuleDynamically (node:internal/modules/esm/translators:158:35) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:207:14) at Object.run (node_modules/vinxi/bin/cli.mjs:279:66) Can you help me to understand what I do wrong?
1 Reply
conscious-sapphire
conscious-sapphire10mo ago
You can run it via npm run dev

Did you find this page helpful?