finsweet / developer-starter

Developer starter template for Finsweet projects.
https://www.finsweet.com/
187 stars 67 forks source link

Fix initial dev builds #42

Closed alexiglesias93 closed 1 year ago

alexiglesias93 commented 1 year ago

Seems like running pnpm dev for the first time in a new repo, when there isn't a dist folder present, some times caused a crash. I haven't found the exact issue causing it, but after updating the dependencies the issue seems to go away.

@erikmejias I saw you cloned the repo a couple days ago, have you encountered this issue too?

Gonna merge this for now, I'll stay tuned if the issue appears again.

erikmejias commented 1 year ago

I have not encountered this error. Just test it (by removing the dist folder and adding the .rebuild() call) and everything works as expected.

Does it crash with a message? If so, please paste it here.