Thread overview
vibe.d compilation error
Jul 04, 2021
seany
Jul 05, 2021
Mathias LANG
Jul 05, 2021
seany
July 04, 2021

Compiling a simple vibe.d project throws tis error :

/root/.dub/packages/vibe-d-0.8.6/vibe-d/utils/vibe/internal/memory_legacy.d(9,8): Error: module std.exceptionimportenforceExnot found, did you mean templatestd.exception.enforce(E : Throwable = Exception) if (is(typeof(new E("", string.init, size_t.init)) : Throwable) || is(typeof(new E(string.init, size_t.init)) : Throwable))`

There is a github issue raised here .

However, I am not compiling with botan. My dub.json is :

dub.json
{
    "authors": [
            "Seany"
    ],
    "copyright": "Copyright © 2021, Seany",
    "dependencies": {
            "vibe-d": "~>0.8.0",
    },
    "description": "Econsor data receive",
    "license": "proprietary",
    "name": "rawdatareceiver"
}

Is there any way, I can avoid this error?

July 05, 2021

On Sunday, 4 July 2021 at 12:36:24 UTC, seany wrote:

>

Is there any way, I can avoid this error?

You are using an old version of Vibe.d, change your dependency to "~>0.9.0".

July 05, 2021

On Monday, 5 July 2021 at 01:11:22 UTC, Mathias LANG wrote:

>

On Sunday, 4 July 2021 at 12:36:24 UTC, seany wrote:

>

Is there any way, I can avoid this error?

You are using an old version of Vibe.d, change your dependency to "~>0.9.0".

Okey, thank you. That resolved it.