Closed Cobb-Zhang closed 1 year ago
Having the same problem, i believe is not finding the theme
@Cobb-Zhang @franciscoarruda I had a look into the issue.
From the screenshot it seemed there was an unnecessary request to the development server. I just pushed a fix for that https://github.com/LiveDuo/destack/commit/565b886bfa105bad9458dc4033235489fead20fe.
I suggest you update to destack 2.1.3
and start your project again. If the problem persists I would need more info to figure it out. Maybe a repo that reproduces the problem and more details about your OS and the node/npm versions you are using.
I'm using Destack-Starter.
I tried again from the start:
The error that shows is:
@franciscoarruda Did you start with npm run build
and npm run start
before running npm run dev
?
It should not throw errors even if you build without creating the page but might shed some light.
Yes i did run build and the run start
I believe the error comes from this function, not sure
It should be.
I don't get the error by default on my machine but I noticed I do when I delete data/default.json
.
@franciscoarruda It was an issue with Windows which have some differences from Unix based systems such as Mac and Linux.
I pushed https://github.com/LiveDuo/destack/commit/eb7ba180794b449223b7cc46f28c5d4edcdb632e and https://github.com/LiveDuo/destack/commit/506ed94c9a1a3479a5de1607987431076631728f that should fix the issue. Already, tested it on a Windows machine and it works fine now.
Update to the latest version to test it out.
If you still experiencing issues let me know.
Fixed 👌🫡 Nice project btw !
Thanks!
@LiveDuo Fixed,good job !This project is really convenient!
Just as you say, update the lastest version which can fix the problem.
Nextjs version: 13.4.19 destack version: 2.1.2 issue: when I build the project and start it, the page can't show the page that i create in the dev environment.