zielmicha / reactor.nim

Asynchronous networking engine for Nim
https://networkos.net/nim/reactor.nim/doc/
MIT License
108 stars 6 forks source link

undeclared identifier: 'singleItemView' #19

Closed traverseda closed 6 years ago

traverseda commented 6 years ago

Using the reactor for the first time, got /home/traverseda/.nimble/pkgs/reactor-0.4.5/reactor/async/stream.nim(174, 34) Error: undeclared identifier: 'singleItemView'

zielmicha commented 6 years ago

There was a problem with version of collections.nim library, please try installing again (version 0.5.0).

traverseda commented 6 years ago

deps.txt

It says it is 0.5.0. I've included my full list of dependencies as well.

name: "collections"
version: "0.5.0"
author: "Micha\xC5\x82 Zieli\xC5\x84ski <michal@zielinscy.org.pl>"
desc: "Various collections and utilities"
license: "MIT"
skipDirs: "examples, doc, tests"
skipFiles: ""
skipExt: ""
installDirs: ""
installFiles: ""
installExt: ""
requires: "nim >= 0.18.0"
bin: ""
binDir: ""
srcDir: ""
backend: "c"
zielmicha commented 6 years ago

You need to have version 0.5.0 of both reactor.nim and collections.nim. You now have version 0.4.5 of reactor.nim.