next.js examples : with-route-as-model is not working, problem in setting it up locally. #65835
Unanswered
AnchalDevBytes
asked this question in
Help
Replies: 2 comments 2 replies
-
Hi, The problem is that package managers are way more strict with peer dependency ranges now, and react-modal seems to allow only up to react@16, while we have gone past 17 and 18 already. You can do Though when I go to |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hey, I was trying to look into the example of how to create routing pages in a model, so wanted to see an example, here I found https://github.com/vercel/next.js/tree/canary/examples/with-route-as-modal , but when I tried to go create it locally with the given command, it throws an error,
![image](https://private-user-images.githubusercontent.com/126651793/331064174-2fa5a2c5-8aca-42ac-9556-335876503cf7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNzMwOTQsIm5iZiI6MTcxODA3Mjc5NCwicGF0aCI6Ii8xMjY2NTE3OTMvMzMxMDY0MTc0LTJmYTVhMmM1LThhY2EtNDJhYy05NTU2LTMzNTg3NjUwM2NmNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxMVQwMjI2MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iNTVmODcwMTE5MWExNzE1NWU3NzhlYWZhMDg4ZmJhZmM2N2VhYjJhMjBkMWNmOGI3MmFhNDlhNzNkNjE1N2Q1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.-t7Lr4m-dHyf1ct1bxqtpjn8Whj2gN_PxGFe28hJD4s)
can anyone help me with it? or point to some resources where I can learn about how can I create routed pages inside a model popup, that I want to create on the screen.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions