Theo's Typesafe CultTTC
Theo's Typesafe Cult10mo ago
2 replies
rocawear

turborepo setup

I created my project using:
npx create-turbo@latest


Hello I am having problems to run my turborepo project. I have created structure as:

apps/client
apps/server

packages/game-engine

But i cant make it to run correctly. I am having different errors and cant even run my server when doing pnpm run dev

src/index.ts:3:22 - error TS2307: Cannot find module '@travian/game-engine/game' or its corresponding type declarations.
                         │  There are types at 'C:/Users/root/projektit/travian/apps/server/node_modules/@travian/game-engine/src/game.ts', but this result could not be resolved under your current 'moduleResolutio                         │n' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
                         │
                         │3 import { Game } from "@travian/game-engine/game";


My repository:
https://github.com/ruhap/travian

How to run:

clone repo
pnpm install
pnpm run dev
GitHub
Contribute to ruhap/travian development by creating an account on GitHub.
GitHub - ruhap/travian
Was this page helpful?