#Can not start project

4 messages · Page 1 of 1 (latest)

raw osprey
#

Hello everyone, I've come across a strange error:
I'm doing a small pet project and decided to make a small service for validating environment variables using Yup. At some point, I made a mistake and did not handle the promise, the project fell. After that, I can no longer run the project. I fixed the bug, then disabled the part of the logic that was causing the error in the first place, but when I run yarn dev, it keeps breaking, referring to the same error. I tried switching to another branch where there is no such service at all, deleting node_modules and clearing the yarn cache, but nothing helps. I tried moving the files to a different folder and miraculously the project started up. Probably the compiler saved some kind of cache somewhere

past terrace
#

Delete .next

raw osprey
past terrace
#

Awesome, glad you got it working.