hi there, may be somebody can help me.. i installe...
# kobweb
l
hi there, may be somebody can help me.. i installed kobweb via sdk on MacOs, create example by
kobweb create examples/clock
then run
kobweb run
...
> Task :site:jsBrowserDevelopmentWebpack
> Task :site:kobwebStart
Starting server by running:
/Users/leonid/.sdkman/candidates/java/17.0.7-amzn/bin/java -Dkobweb.server.environment=DEV -Dkobweb.site.layout=KOBWEB -Dio.ktor.development=true -jar /Users/leonid/IdeaProjects/clo
ck/site/.kobweb/server/server.jar
A Kobweb server is now running at <http://localhost:8080> (PID = 3378)
`Run
gradlew kobwebStop
when you're ready to shut it down.`
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to <https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings> in the Gradle documentation.
BUILD SUCCESSFUL in 1m 40s
26 actionable tasks: 26 executed
Waiting for changes to input files...
Kobweb server (development) is running at <http://localhost:8080> (PID = 3378)
Press Q anytime to stop the server.
but server answer with empty
~$ curl -X 'GET' <http://localhost:8080>
curl: (52) Empty reply from server
same for kobweb export
it was MacOs bug
also u have to enable CORS to get fullstack works with HTTPS
d
MacOS bug!? Yikes. I haven't seen it.
Yes CORS is often required for full stack apps