I am using Wamp server v3.3.5
and i installed bedrock v1.24.0, alos i installed sage theme v10.8.2.
the bedrock files are in this location “C:\wamp64\www\sage”
and the sage theme files are in this location “C:\wamp64\www\sage\web\app\themes\sage”
I am using PHP v8.1.2
and this is my bud,config code for my setUrl and also setProxyUrl
app
.setUrl(‘http://localhost:3000’)
.setProxyUrl(‘http://localhost/sage/web/’)
.watch([‘resources/views’, ‘app’]);
when I try to run yarn run dev it gives me that result
╭ sage [3bb07cd3792aea0c] 49.13 kB
./public 148.69 kB
│
│ app
│ ◯ js/runtime.js
49.13 kB
│ ◯ js/app.js
157.8 kB
│
│ editor
│ ◯ js/runtime.js
49.13 kB
│ ◯ js/editor.js
148.69 kB
│
╰ 19s 738ms 115 modules [0/115 modules cached]
Network
› Proxy ┄ http://localhost/sage/web/
› Dev ┄ http://localhost:3000/
┄ http://172.20.189.200:3000/
but when i try to access the dev URL http://localhost:3000/ it gives me that error in terminal
[server] › [HPM] Error occurred while proxying request localhost:3000/ to http://localhost/sage/web/ [ECONNREFUSED]
(https://nodejs.org/api/errors.html#errors_common_system_errors)
[server] › [HPM] Error occurred while proxying request localhost:3000/favicon.ico to http://localhost/sage/web/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
and got this error in browser
Error occurred while trying to proxy: localhost:3000/
how to solve this problem?