Assets not compiled when creating a "web" application #4208
-
When I create a new Adonis 5 application using the "web" option, assets are not compiled. Here is a repo with my code. [email protected]:simonjcarr/adonis_webpack_not_working.git After installation I run Here is what is shown in the browser This is what is in my assets folder No changes have been made to the code from the boilerplate created by the install. Can anyone advise if I am doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I cloned your repo and everything seem to be working? |
Beta Was this translation helpful? Give feedback.
-
restart the server, run |
Beta Was this translation helpful? Give feedback.
-
I solved the problem. Port 8080 was already in use, I think by docker. The funny thing is that when I ran netstat -tulpn port 8080 was not listed as in use, but even without Adonis running, I was getting a 404 when I went to http://localhost:8080. In the end I stopped a few services one of them being docker, and suddenly everything worked fine. Thanks for your help anyway. |
Beta Was this translation helpful? Give feedback.
I solved the problem. Port 8080 was already in use, I think by docker. The funny thing is that when I ran netstat -tulpn port 8080 was not listed as in use, but even without Adonis running, I was getting a 404 when I went to http://localhost:8080. In the end I stopped a few services one of them being docker, and suddenly everything worked fine.
Thanks for your help anyway.