moigagoo / norm

A Nim ORM for SQLite and Postgres
https://norm.nim.town
MIT License
378 stars 34 forks source link

Can't install norm using `nimble install -y norm` #190

Closed a3ru closed 1 year ago

a3ru commented 1 year ago

This is the output of the nimble instalation

Downloading https://github.com/moigagoo/norm using git
       Tip: 2 messages have been suppressed, use --verbose to show them.
     Error: Could not read package info file in /tmp/nimble_8389/githubcom_moigagoonorm/norm.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     /tmp/nimble_8389/githubcom_moigagoonorm/norm.nimble(15, 1) Error: undeclared identifier: 'taskRequires'
        ... candidates (edit distance, scope distance); see '--spellSuggest': 
        ...  (4, 2): 'requires' [proc declared in /home/mirage-pc/.choosenim/toolchains/nim-1.6.10/lib/system/nimscript.nim(449, 8)]
        ...  (4, 2): 'requires' [proc declared in /tmp/nimblecache-2937533029/nimscriptapi_364517983.nim(46, 6)]
        ... printPkgInfo() failed.
moigagoo commented 1 year ago

What version of Nim and Nimble do you have?

a3ru commented 1 year ago

version 1.6.10 i tried updateing but it told me it's the lastest version

moigagoo commented 1 year ago
  1. What is your Nimble version?
  2. How do you install Nim updates?
a3ru commented 1 year ago

i used chosenim, the link from the official website Nimble version is 0.13.1

a3ru commented 1 year ago

i used chosenim, the link from the official website Nimble version is 0.13.1

moigagoo commented 1 year ago

Please try updating Nimble with nimble install -y nimble. I think taskRequires was added in 0.14.0.

moigagoo commented 1 year ago

Also, try updating Nim with choosenim update stable.

a3ru commented 1 year ago

I am very grateful for your help.