digitalmars.D - Vibe-d doesn't seem to work on Windows anymore
- Ruby The Roobster (3/3) Oct 20 2023 (Posting this here so it gets seen) I'm trying to run a small
- Imperatorn (3/6) Oct 21 2023 Post your code
- Ruby The Roobster (18/24) Oct 21 2023 ```d
- Imperatorn (4/27) Oct 21 2023 You're not running your application:
- Ruby The Roobster (2/29) Oct 21 2023 Oh. How did I miss this? Thank you.
- Imperatorn (3/26) Oct 21 2023 https://github.com/reyvaleza/vibed/tree/main
(Posting this here so it gets seen) I'm trying to run a small vibe-d project. It compiles, but when running it immediately terminates. Please fix this.
Oct 20 2023
On Saturday, 21 October 2023 at 00:50:21 UTC, Ruby The Roobster wrote:(Posting this here so it gets seen) I'm trying to run a small vibe-d project. It compiles, but when running it immediately terminates. Please fix this.Post your code
Oct 21 2023
On Saturday, 21 October 2023 at 07:53:15 UTC, Imperatorn wrote:On Saturday, 21 October 2023 at 00:50:21 UTC, Ruby The Roobster wrote:```d import vibe.d; void main() { // router URLRouter router = new URLRouter(); router.get("/", staticTemplate!"home.dt"); // compiles router.get("*", serveStaticFiles("/public")); auto settings = new HTTPServerSettings; settings.port = 8080; settings.bindAddresses = ["localhost", "::1", "127.0.0.1"]; listenHTTP(settings, router); logInfo("Server up at 127.0.0.1:8080"); } ``` It just tells me that three sockets were leaked at 'driver shutdown' and terminates.(Posting this here so it gets seen) I'm trying to run a small vibe-d project. It compiles, but when running it immediately terminates. Please fix this.Post your code
Oct 21 2023
On Saturday, 21 October 2023 at 12:38:33 UTC, Ruby The Roobster wrote:On Saturday, 21 October 2023 at 07:53:15 UTC, Imperatorn wrote:You're not running your application: runApplication();On Saturday, 21 October 2023 at 00:50:21 UTC, Ruby The Roobster wrote:```d import vibe.d; void main() { // router URLRouter router = new URLRouter(); router.get("/", staticTemplate!"home.dt"); // compiles router.get("*", serveStaticFiles("/public")); auto settings = new HTTPServerSettings; settings.port = 8080; settings.bindAddresses = ["localhost", "::1", "127.0.0.1"]; listenHTTP(settings, router); logInfo("Server up at 127.0.0.1:8080"); } ``` It just tells me that three sockets were leaked at 'driver shutdown' and terminates.[...]Post your code
Oct 21 2023
On Saturday, 21 October 2023 at 13:43:30 UTC, Imperatorn wrote:On Saturday, 21 October 2023 at 12:38:33 UTC, Ruby The Roobster wrote:Oh. How did I miss this? Thank you.On Saturday, 21 October 2023 at 07:53:15 UTC, Imperatorn wrote:You're not running your application: runApplication();[...]```d import vibe.d; void main() { // router URLRouter router = new URLRouter(); router.get("/", staticTemplate!"home.dt"); // compiles router.get("*", serveStaticFiles("/public")); auto settings = new HTTPServerSettings; settings.port = 8080; settings.bindAddresses = ["localhost", "::1", "127.0.0.1"]; listenHTTP(settings, router); logInfo("Server up at 127.0.0.1:8080"); } ``` It just tells me that three sockets were leaked at 'driver shutdown' and terminates.
Oct 21 2023
On Saturday, 21 October 2023 at 12:38:33 UTC, Ruby The Roobster wrote:On Saturday, 21 October 2023 at 07:53:15 UTC, Imperatorn wrote:https://github.com/reyvaleza/vibed/tree/mainOn Saturday, 21 October 2023 at 00:50:21 UTC, Ruby The Roobster wrote:```d import vibe.d; void main() { // router URLRouter router = new URLRouter(); router.get("/", staticTemplate!"home.dt"); // compiles router.get("*", serveStaticFiles("/public")); auto settings = new HTTPServerSettings; settings.port = 8080; settings.bindAddresses = ["localhost", "::1", "127.0.0.1"]; listenHTTP(settings, router); logInfo("Server up at 127.0.0.1:8080"); } ``` It just tells me that three sockets were leaked at 'driver shutdown' and terminates.[...]Post your code
Oct 21 2023