Comments (3)
Same error on Windows 10, Nim 1.6.0.
from inim.
Can't replicate, could you confirm on the latest version of nim?
λ choosenim update stable 10:42:11
Updating stable
Downloading Nim 1.6.4 from nim-lang.org
[##################################################] 100.0% 0kb/s
Extracting nim-1.6.4-linux_x64.tar.xz
Extracting nim-1.6.4-linux_x64.tar
Building Nim 1.6.4
Compiler: Already built
Updated to 1.6.4
Switched to Nim 1.6.4
~ via v12.22.1 via v1.61.0-nightly
λ nimble install inim 10:42:23
Downloading https://github.com/inim-repl/INim using git
Verifying dependencies for [email protected]
Info: Dependency on cligen@>= 1.2.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on noise@>= 0.1.4 already satisfied
Verifying dependencies for [email protected]
Installing [email protected]
Building inim/inim using c backend
Prompt: [email protected] already exists. Overwrite? [y/N]
y
Answer: Success: inim installed successfully.
from inim.
Only some versions of cligen exhibit the issue, at least one of which is v 1.3.2:
❯ choosenim update stable
Updating stable
Info: Already up to date at version 1.6.4
~
❯ nim --version
Nim Compiler Version 1.6.4 [Windows: amd64]
Compiled at 2022-02-09
Copyright (c) 2006-2021 by Andreas Rumpf
active boot switches: -d:release
❯ nimble install [email protected]
Downloading https://github.com/c-blake/cligen.git using git
Verifying dependencies for [email protected]
Installing [email protected]
Success: cligen installed successfully.
~ took 4s
❯ nimble install inim
Downloading https://github.com/AndreiRegiani/INim using git
Verifying dependencies for [email protected]
Info: Dependency on cligen@>= 1.2.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on noise@>= 0.1.4 already satisfied
Verifying dependencies for [email protected]
Installing [email protected]
Building inim/inim.exe using c backend
C:\Users\thef2102\AppData\Local\Temp\nimble_17068\githubcom_AndreiRegianiINim\src\inim.nim(627, 11) template/generic instantiation of `dispatch` from here
C:\Users\thef2102\.nimble\pkgs\cligen-1.3.2\cligen.nim(777, 14) template/generic instantiation of `dispatchCf` from here
C:\Users\thef2102\.nimble\pkgs\cligen-1.3.2\cligen.nim(754, 31) Error: expression 'dispatchmain(mergeParams([""], commandLineParams()), clUse, "", false, false,
false)' has no type (or is ambiguous)
Prompt: Build failed for '[email protected]', would you like to try installing 'inim@#head' (latest unstable)? [y/N]
Answer: n
Tip: 8 messages have been suppressed, use --verbose to show them.
Error: Aborting installation due to build failure
[email protected] satisfies inim's (0.6.1) constraint of `cligen>=1.2.0, therefore users who already have these "broken" cligen versions on their system would result in a failed build for inim.
#131 should resolve this issue, we just need to issue a new release (tag) of inim.
from inim.
Related Issues (20)
- Got error when installing inim HOT 3
- "handle is invalid" on setCursorXPos, powershell HOT 3
- Working with plotly in inim HOT 2
- Instalalion issue may be ; Error: cannot open file: src/inimpkg/commands HOT 2
- os.sleep is not working properly HOT 1
- Unable to install with Ubuntu version of nim HOT 7
- Assistance for inim input/output in new process HOT 1
- slice seq, or maybe not bug
- cligen 1.2.0 doesn't compile
- --withTools still broken HOT 3
- ArchLinux/AUR package HOT 1
- Handling `sysFatal` gracefully HOT 3
- I don't understand how to run inim after `nimble install inim`. HOT 2
- Variables don't persist HOT 8
- [Question] how to handle user input?
- tcc compiler? HOT 1
- INim cloud?
- Embedding inim in other programs
- Is this repo still actively maintained? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inim.