Closed vladnega closed 7 months ago
After a lot of tinkering, I eventually found that setting the host
to 0.0.0.0
in my Custom UI App's project.json
when calling @nx/webpack-dev-server
fixes the issue for me, being on a Windows machine. I am not sure if this is something you might want to include in your docs, @tbinna, so I'll leave you to decide what to do with this information.
"serve": {
"executor": "@nx/webpack:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "<custom_ui_app>:build",
"host": "0.0.0.0"
},
"configurations": {
"development": {
"buildTarget": "<custom_ui_app>:build:development"
},
"production": {
"buildTarget": "<custom_ui_app>:build:production",
"hmr": false
}
}
}
Hi there! 👋
I'm having issues when running
nx serve <forge_app_name>
in my Forge Custom UI setup. The app manages to initialize forge tunneling just fine (it eventually saysListening for requests on local port 36975...
), however when I refresh the page in Jira it throws the following error:I followed the Getting started tutorial, so my forge app's
project.json
looks something like this:My custom UI app
project.json
looks like this:My
manifest.json
has the followingresource
setup:I am not getting any issues when following the Forge Custom UI tutorial and trying to tunnel. I am using a Windows 11 machine.
Could you please help?
Thanks, Vladimir