Oh, I think this has come up before, and it may not be possible to use the pages
folder when building an exe file. However, it is possible to use the multi-page app features without using the pages
folder. You can find instructions on how to do that here
Before making your app run without the pages folder, you could try making an executable file from this example app