Closed changeelog closed 3 months ago
You have to build the dependencies first to generate types (pnpm run build --filter=./packages/*
), then run pnpm run dev --filter=docs
to run the dev server
This is a Turborepo problem and their recommended approach is to build them before running in watch mode (because in watch mode, the process won't be interrupted after the first build. There's no way to detect either the build is finished and start the dev server of a workspace when only its dependencies are built)
Oh, yeah, I've completely forgot about the Turborepo thing, working fine for now, thanks
Could be closed now I guess
To Reproduce
I wish I knew. After forking the repository changeelog/fumadocs (https://github.com/changeelog/fumadocs) and running
pnpm install
, attempting to start the development server withpnpm dev
results in multiple errors including:After running pnpm dev I get
Current vs. Expected behavior
Expected Behavior
The development environment should start without issues, and all packages should build successfully.
Actual Behavior
Module Not Found Errors:
Errors During Task Execution:
Also
next info
didn't work for me when deps where installed, it ran when I deletedpnpm-lock.yaml
andnode_modules
folder. I've tried running the exact same steps on two of my machines and still got the exact same thing.Provide environment information
Which area(s) are affected? (Select all that apply)
Not sure
Additional context
Deleting
pnpm-lock.yaml
andnode_modules
directory and then reinstalling deps withpnpm install
doesn't seem to solve the issue