Network HTTP Simple - wai-handler-devel: does not exis

Installed from here https://hackage.haskell.org/package/simple
and from here I got the script: https://hackage.haskell.org/package/http-conduit-2.2.3/docs/Network-HTTP-Simple.html

$ ls
Application.hs Main.hs MyAppName my_app_name.cabal

$ smpl
smpl: wai-handler-devel: rawSystem: runInteractiveProcess: exec: does not exist (No such file or directory)

How can I solve this?

I can reproduce this error message by just following the example in the documentation:

$ cabal install simple
$ smpl create my_app_name
$ cd my_app_name
$ smpl

Using GHC version 8.6.5 and cabal version 3.0.0.0 and simple version 0.11.3.

I think an issue should be filed on the bug tracker of simple: https://github.com/alevy/simple/issues

EDIT: running cabal run as last step instead of smpl does work for me. (By the way, my_app_name shouldn’t be the literal name of your project since cabal project names can’t have underscores in them)

EDIT2: the command line documentation mentions:

You must have wai-handler-devel installed to run this command

But I’m not able to install that package, because it is old and deprecated.

Jaror Thanks so far,

I filled on the bug tracker of simple https://github.com/alevy/simple/issues/24

Let see what happen