karaxnim / karax

Karax. Single page applications for Nim.
MIT License
1.07k stars 90 forks source link

Please release a new version #222

Closed ringabout closed 2 years ago

ringabout commented 2 years ago

nimble install karax

Downloading https://github.com/karaxnim/karax using git
   Warning: Package 'karax' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'karax', but file 'button.nim' is in a directory named 'examples' instead. This will be an error in the future.
      Hint: If 'examples' contains source files for building 'karax', rename it to 'karax'. Otherwise, prevent its installation by adding `skipDirs = @["examples"]` to the .nimble file.
  Verifying dependencies for karax@1.2.1
      Info: Dependency on ws@any version already satisfied
  Verifying dependencies for ws@0.5.0
      Info: Dependency on dotenv@any version already satisfied
  Verifying dependencies for dotenv@2.0.1
 Installing karax@1.2.1
   Building karax/karax/tools/karun.exe using c backend
C:\Users\blue\AppData\Local\Temp\nimble_72136\githubcom_karaxnimkarax\karax\tools\static_server.nim(140, 13) Error: undeclared identifier: 'DotEnv'
candidates (edit distance, scope distance); see '--spellSuggest':
 (1, 3): 'dotenv' [module declared in C:\Users\blue\AppData\Local\Temp\nimble_72136\githubcom_karaxnimkarax\karax\tools\static_server.nim(6, 8)]
    Prompt: Build failed for 'karax@1.2.1', would you like to try installing 'karax@#head' (latest unstable)? [y/N]
    Answer:

The stable version of karax is broken.

capocasa commented 2 years ago

Same problem here. Or maybe there is a quick patch that could be backported to 1.2.1?

pietroppeter commented 2 years ago

yes, a new release would be much welcome! In particular, we are using a feature recently introduced (#221) for a new nbKaraxCode template that we are adding to nimib, see https://github.com/pietroppeter/nimib/pull/88

ringabout commented 2 years ago

fixed