Closed jahirfiquitiva closed 4 months ago
Thanks for opening this issue! A maintainer will review it soon.
Getting this error after cloning and pnpm dev:
@Aslemammad so weird that it's trying to import ./generated
from node_modules/contentlayer
contentlayer/generated
should be an alias for the "./.contentlayer/generated"
folder as per tsconfig.json
I'm not sure if it's an issue with pnpm
, I use yarn
with my project.
If anything, try running yarn contentlayer build
before running the dev
script.
By the way, this issue has been fixed by changing the million config to:
const millionConfig = {
mute: true,
auto: { rsc: true },
rsc: true,
};
as suggested in this comment
I'm getting so many more errors like all the images in the /assets/images/ dir not being resolved, or during the build I get this
Anyway, the issue you're facing would be fixed by #959
@Aslemammad it seems as if it wasn't taking any of the paths aliases set up in tsconfig.json
... so weird
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.
What version of
million
are you using?3.0.3
Are you using an SSR adapter? If so, which one?
Vercel
What package manager are you using?
yarn
What operating system are you using?
Mac
What browser are you using?
Arc
Describe the Bug
During build, I get this error:
not sure what could be causing it
What's the expected result?
Build completed successfully
Link to Minimal Reproducible Example
https://github.com/jahirfiquitiva/jahir.dev/pull/73
Participation