jonasbuntinx / next-purescript-example

Simple example app using Next.js with Purescript
https://next-purescript-example.netlify.app/
MIT License
66 stars 10 forks source link

Error starting the app. #1

Closed wpoosanguansit closed 4 years ago

wpoosanguansit commented 4 years ago

Hi,

I followed the steps in your README.md but I do get this error:

Module not found: Can't resolve '../output/App/index.js' in '~/next-purescript-example/pages'

Should the output be auto generated or should it be created manually? Thanks.

jonasbuntinx commented 4 years ago

Have you tried ‘yarn build’?

wpoosanguansit commented 4 years ago

Thanks Jonas. I clone the repo again and cleaned out everything before I rebuilt the project. This time everything was generated correctly, I think. Now it is running.

jonasbuntinx commented 4 years ago

I have updated the README.md with the build command that builds the existing pages. The hot reloading only builds pages when their files are changed.