-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Concerto dependency 'semver' not automatically installed #309
Comments
@OliverTod Could you please indicate which version of Concerto you were trying to install? |
@jeromesimeon I was trying to install v1.1.0 I think the problem is that 'semver' is declared in the concerto-core Only installing the concerto-cli is probably not something the maintainers try very often! |
Interesting, looking at the code, I don't see What are the steps that you followed, please? I tried the following ... $ yarn global add @accordproject/concerto-cli
yarn global v1.22.10
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "depcheck > @vue/[email protected]" has unmet peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "typescript@*".
[4/4] 🔨 Building fresh packages...
success Installed "@accordproject/[email protected]" with binaries:
- concerto
✨ Done in 8.26s.
$ concerto --version
1.1.0
$ concerto
concerto <cmd> [args]
Commands:
concerto validate validate JSON against model files
concerto compile generate code for a target platform
concerto get save local copies of external model dependencies
concerto import import a cto string into its metamodel
concerto export export a metamodel to cto syntax
Options:
--version Show version number [boolean]
-v, --verbose [default: false]
--help Show help [boolean]
# Please specify a command |
Hi Matt - I followed the instructions in the documentation as follows:
I got Martin Halford to verify that he got the same error before I posted this issue. He tried it on node versions 14, 12 and 10 with no luck. |
The issue went away instantly when I manually installed |
@mttrbrts @jeromesimeon - I can confirm that I got the same error as @OliverTod. |
My hunch: this may be due to a bug in the latest Concerto release where I used |
I can reproduce the error with
|
Probably more simply,
|
That would do it! |
@OliverTod this should now be fixed in Concerto Could you please try again with:
|
The semver module is not automatically installed as part of the concerto-core or concerto-cli install - though it is a required dependency.
This leads to an error message:
which can be resolved by separately installing semver.
The text was updated successfully, but these errors were encountered: