Layout.tsx compile error
Answered
Giant panda posted this in #help-forum
Giant pandaOP
Before this I don't event create the layout.tsx for each route. But after created it, and decided not to use, then I remove it. But it gives me compile error after that says that it require layout.tsx.
Spaghetti code - still learning this.
https://github.com/ismi-abbas/kewangan-bulanan-abbas/tree/98ede14577f13b46313951b4bdaa0ec4aae2343e
Spaghetti code - still learning this.
https://github.com/ismi-abbas/kewangan-bulanan-abbas/tree/98ede14577f13b46313951b4bdaa0ec4aae2343e
2 Replies
delete the
.next folder and restart the dev serverAnswer
Giant pandaOP
Thanks dude. I forgot about the caching folder.
