Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Page not found" error when running assemble once #23

Open
asarasua opened this issue Sep 7, 2020 · 0 comments
Open

"Page not found" error when running assemble once #23

asarasua opened this issue Sep 7, 2020 · 0 comments

Comments

@asarasua
Copy link

asarasua commented Sep 7, 2020

I encounted a weird issue running this example.

To reproduce it:

  1. Clone the repo
  2. cd micronaut-spa-react/complete/
  3. ./gradlew assembleServerAndClient
  4. java -jar server/build/libs/server-0.1-all.jar

Now, accessing http://localhost:8080 returns {"message":"Page Not Found","_links":{"self":{"href":"/","templated":false}}}.

The issue dissapears by running steps 3 and 4 again. Also, it doesn't occur if yarn build was run before running step 3.

I reproduced this on two laptops on MacOS 10.15.6 and 10.14.6.

Any ideas on the possible reason for this?

Thanks for the great example anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant