tim icon indicating copy to clipboard operation
tim copied to clipboard

nim install issue on windows 11

Open hmbemba opened this issue 6 months ago • 2 comments

I'm on windows 11 using nim 2.0.0. Cnat seem to install tim 1.3.0 or tim@#head

C:\Users\...\.nimble\pkgs2\httpbeast-0.4.2-ceacc8345c9513bd69c4bdb36dd2cb270e8614c4\httpbeast.nim(120, 30) Error: ambiguous identifier: 'SocketHandle' -- use one of the following:
  winlean.SocketHandle: SocketHandle
  posix.SocketHandle: SocketHandle
nimble.nim(229)          buildFromDir

    Error:  Build failed for the package: tim
     Info:  Nimble data file "C:\Users\...\.nimble\nimbledata2.json" has been saved.

hmbemba avatar Jun 02 '25 19:06 hmbemba

httpbeast is POSIX only. I guess this is the problem

requires "httpbeast#head"

Should be replaced by https://github.com/ringabout/httpx

Anyway, I’m currently in the process of rewriting big parts of Tim engine. Soon, I’ll create a public branch with the new work.

Let's keep this open

georgelemon avatar Jun 03 '25 00:06 georgelemon

The current branch: https://github.com/openpeeps/tim/tree/rewrite

georgelemon avatar Jun 03 '25 08:06 georgelemon