Good morning I am trying to develop my wordpress theme using the latest version of Sage.
I am working on Win11 with WSL 2. I use wamp server as web server on port 8081.
In bud.config.js I use this configuration:
app
.setUrl(new URL(‘http://localhost:3000’))
.setProxyUrl(new URL(‘http://io:8081’))
.watch([‘resources/views’, ‘app’]);
where ‘io’ is resolved to my local ip address (192.168.1.161).
I have two problems;
1- yarn build uses 136 seconds to compile everything
2- yarn dev opens the browser at localhost:3000, keeps running and after 3/4 minutes it tells me:
Error occurred while trying to proxy: localhost:3000/
Error occurred while proxying request localhost:3000/ to http://io:8081/ [ETIMEDOUT] (Errors | Node.js v23.3.0 Documentation)
In console error 504
where do I go wrong?
Thank you