Error: > Couldn't find any pages or app directory. Please create one under the project root
#1142
Unanswered
jaiswalshash
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey folks,
I've been following the dub's local setup documentation, and everything worked fine.
However, running
pnpm devbreaks the code and throws this errorError: > Couldn't find anypagesorappdirectory. Please create one under the project root web:dev: [2] at findPagesDir (C:\Users\jaisw\Desktop\Dub.co\dub\node_modules\.pnpm\next@14.0.5-canary.46_@babel+core@7.25.2_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\lib\find-pages-dir.js:42:15)Could anyone please help me resolve this issue, I'm using Windows 11.
All reactions