Replies: 1 comment
-
@sebaestel were you able to solve this issue? I am building my first app with next.js and currently stuck with this issue. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I made all this steps https://github.com/vercel/next.js/tree/canary/examples/cms-sanity but when I run npm run dev returns:
Error: You cannot use different slug names for the same dynamic path ('tool' !== 'index').
at handleSlug (/Users/estel/Documents/repos/mine/fotosubmarina/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:94:31)
at UrlNode._insert (/Users/estel/Documents/repos/mine/fotosubmarina/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:112:21)
at UrlNode._insert (/Users/estel/Documents/repos/mine/fotosubmarina/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:142:40)
at UrlNode.insert (/Users/estel/Documents/repos/mine/fotosubmarina/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:13:14)
at /Users/estel/Documents/repos/mine/fotosubmarina/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:165:46
at Array.forEach ()
at getSortedRoutes (/Users/estel/Documents/repos/mine/fotosubmarina/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:165:21)
at Watchpack. (/Users/estel/Documents/repos/mine/fotosubmarina/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js:558:65)
any thought?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions