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 #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iamridoydey
Copy link

What kind of change does this PR introduce?
bugfix

Issue Number:

Screenshots/videos:
Screenshot from 2024-11-03 08-35-02

If relevant, did you update the documentation?
No I didn't

Summary
I read through several documentation including next js and turbopack itself. Watching new setup in youtube then somehow able to fix the issue

Does this PR introduce a breaking change?
No

Signed-off-by: Ridoy Chandra Dey <[email protected]>
@JeelRajodiya
Copy link
Member

@iamridoydey After running the project locally, please open the project in the browser. you will see these errors.

image

@iamridoydey
Copy link
Author

Let me fix the issue

@iamridoydey
Copy link
Author

This is throwing error because server side and client side logic are not divided . Probably the first reason. Then we should use 'use client' where we used useContext, createContext sort of stuff.

I think it is fine with webpack. Please close this issue. Because I tried a lot of ways.

@iamridoydey
Copy link
Author

iamridoydey commented Nov 4, 2024

@JeelRajodiya Can you please suggest me what to do?

@JeelRajodiya
Copy link
Member

JeelRajodiya commented Nov 9, 2024

@iamridoydey I have left you a reply in the issue, please refer to this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup turbopack for development
2 participants