Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup turbopack for development #10

Open
JeelRajodiya opened this issue May 11, 2024 · 11 comments
Open

Setup turbopack for development #10

JeelRajodiya opened this issue May 11, 2024 · 11 comments
Assignees
Labels
🐛 Bug Something isn't working ✨ Enhancement New feature or request good first issue Good for newcomers hacktoberfest This issue is looking for contribution under hacktoberfest event Priority: Low This issue can probably be picked up by anyone looking to contribute to the project. Status: Available No one has claimed responsibility for resolving this issue.
Milestone

Comments

@JeelRajodiya
Copy link
Member

JeelRajodiya commented May 11, 2024

There are some compilation and hydration errors occurring when the command the dev command with was used with--turboflag. resolve those errors to use--turbo`

image

Relevant:
We are trying to do the following from the docs: https://nextjs.org/docs/architecture/turbopack#usage

@JeelRajodiya JeelRajodiya added Priority: Low This issue can probably be picked up by anyone looking to contribute to the project. ✨ Enhancement New feature or request 🐛 Bug Something isn't working labels May 11, 2024
@JeelRajodiya JeelRajodiya added this to the Platform milestone May 11, 2024
@JeelRajodiya JeelRajodiya changed the title Setup turbo for development Setup turbopack for development May 11, 2024
@JeelRajodiya
Copy link
Member Author

@JeelRajodiya JeelRajodiya self-assigned this Jun 2, 2024
@JeelRajodiya JeelRajodiya added Status: Available No one has claimed responsibility for resolving this issue. good first issue Good for newcomers labels Sep 9, 2024
@JeelRajodiya JeelRajodiya removed their assignment Sep 9, 2024
@RonakSurana-2001
Copy link

Is this issue available to solve
Can I work on this issue
Also I want to ask is this repository under hackoctoberfest 2024

@JeelRajodiya
Copy link
Member Author

@RonakSurana-2001 Yes the repo is participating under hacktoberfest. You can work on it and open a PR.

@JeelRajodiya JeelRajodiya added the hacktoberfest This issue is looking for contribution under hacktoberfest event label Oct 3, 2024
@JeelRajodiya
Copy link
Member Author

@RonakSurana-2001 I am not sure, but maybe upgrading next.js version can fix this issue. it is worth a try.

@RonakSurana-2001
Copy link

@JeelRajodiya I added --turbo in package.json dev
Screenshot 2024-10-03 093352
And I am not seeing any Error.
I have also Added
Screenshot 2024-10-03 093523
in next.config.mjs as you suggested. but it is of no use as error is not coming.

https://github.com/hashicorp/next-mdx-remote?tab=readme-ov-file#installation

This may help

I have raised a PR you can see the change. #86

@JeelRajodiya
Copy link
Member Author

Hello @RonakSurana-2001 , please check your PR. I pushed some changes. Now you will be able to see this error.

image

@JeelRajodiya
Copy link
Member Author

I found these two issues somewhat relevant to ours.
vercel/turborepo#6094
vercel/next.js#44653

@RonakSurana-2001
Copy link

Hmm finding the solution

@RonakSurana-2001
Copy link

Think that issue is not with --turbo
I removed Providers from layout.tsx the error was gone

@JeelRajodiya
Copy link
Member Author

please reflect that in your PR

Think that issue is not with --turbo I removed Providers from layout.tsx the error was gone

@RonakSurana-2001
Copy link

RonakSurana-2001 commented Oct 3, 2024

@JeelRajodiya Can you please check #88 PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working ✨ Enhancement New feature or request good first issue Good for newcomers hacktoberfest This issue is looking for contribution under hacktoberfest event Priority: Low This issue can probably be picked up by anyone looking to contribute to the project. Status: Available No one has claimed responsibility for resolving this issue.
Projects
None yet
Development

No branches or pull requests

2 participants