digitalmars.D.learn - vibe.d compilation error
- seany (19/19) Jul 04 2021 Compiling a simple vibe.d project throws tis error :
- Mathias LANG (3/4) Jul 04 2021 You are using an old version of Vibe.d, change your dependency to
- seany (2/7) Jul 04 2021 Okey, thank you. That resolved it.
Compiling a simple vibe.d project throws tis error : `/root/.dub/packages/vibe-d-0.8.6/vibe-d/utils/vibe/internal/m mory_legacy.d(9,8): Error: module `std.exception` import `enforceEx` not found, did you mean template `std.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](https://github.com/vibe-d/vibe.d/issues/2578) . 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?
Jul 04 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".
Jul 04 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:Okey, thank you. That resolved it.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".
Jul 04 2021