ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
177 stars 7 forks source link

`nimble install nimwc` fails (4.0.5) #29

Closed ThomasTJdev closed 5 years ago

ThomasTJdev commented 6 years ago

When running nimble install locally from a git clone there's no problem, but when running nimble install and fetching through Nimble install fails:

Installing nimwc@4.0.5
   Building nimwc/nimwc using c backend
    Prompt: Build failed for 'nimwc@4.0.5', would you like to try installing 'nimwc@#head' (latest unstable)? [y/N]
juancarlospaco commented 6 years ago

https://github.com/ThomasTJdev/nim_websitecreator/blob/master/nimwc.nim#L87 Fails to read the Version from the *.nimble file, because nimble install seems to delete it ?. Make nimble keep the nimble file I guess.

Error: unhandled exception: cannot open: nimwc.nimble [IOError]
ThomasTJdev commented 6 years ago

Temporary fix: 3351499417094c126e91e5137f81815978bdd76c

juancarlospaco commented 5 years ago

Fixed permanently, I hope. :smile:

(Probably theres a faster algo, like Regex, but its Compile-Time only so no worries)