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

Can't run dev server #9

Closed
TBNRDev opened this issue Dec 25, 2022 · 3 comments
Closed

Can't run dev server #9

TBNRDev opened this issue Dec 25, 2022 · 3 comments
Labels
question Further information is requested

Comments

@TBNRDev
Copy link

TBNRDev commented Dec 25, 2022

image

@ccrsxx
Copy link
Owner

ccrsxx commented Dec 25, 2022

Try changing the localhost port. by default, I set the port to be 80. Try running npx next dev, it'll change the port to be 3000.

@ccrsxx ccrsxx changed the title How to fix this? Can't run dev server Dec 25, 2022
@ccrsxx ccrsxx added the question Further information is requested label Dec 26, 2022
@TBNRDev
Copy link
Author

TBNRDev commented Dec 27, 2022

Try changing the localhost port. by default, I set the port to be 80. Try running npx next dev, it'll change the port to be 3000.

thanks, I fixed it, also is there a way to remove some components like trending tab or something?

@ccrsxx
Copy link
Owner

ccrsxx commented Dec 27, 2022

To remove components from the layout, you can edit the file at https://github.com/ccrsxx/twitter-clone/blob/main/components/layout/common-layout.tsx. Just find the components that you want to remove and delete or comment out the code.

I'm closing this issue now. If you have any other questions or run into any other issues, raise another issue or just hit me up on Discord or Twitter.

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

No branches or pull requests

2 participants