Error: module `vibe` is in file 'vibe\vibe.d' which cannot be read

Baby Beaker thegrapevine at email.com
Fri Apr 3 20:21:51 UTC 2020


#!/usr/bin/env dub
/+ dub.sdl:
    name "hello_vibed"
    dependency "vibe-d" version="~>0.8.0"
+/
import vibe.vibe;

void main()
{
     listenHTTP("127.0.0.1:8080", (req, res) {
         res.writeBody("Hello Vibe.d: " ~ req.path);
     });

     runApplication();
}


Message error:
Error: module `vibe` is in file 'vibe\vibe.d' which cannot be read

I'm trying to use vibe, but I get this error? I am a Dlang study 
yet. Someone can helpe me step by step get write this Hello 
Vibe.d working in browser? Thank you.


More information about the Digitalmars-d-learn mailing list