Stream: shorthand
Topic: Odd error message
Gino Canessa (Nov 19 2020 at 13:25):
I'm working through adding some extensions and noticed an odd error message from running _genonce.bat
:
Sushi: error Cannot specify type on additionalCriteria slice since criteria is not an extension path. (00:02.0224)
Sushi: File: C:\git\fhir-subscription-backport-ig\input\fsh\BackportSubscription.fsh (00:02.0227)
...
Sushi: (00:02.0680)
Sushi: ╔════════════════════════ SUSHI RESULTS ══════════════════════════╗ (00:02.0682)
Sushi: ║ ?──────────┬────────────┬───────────┬─────────────┬───────────? ║ (00:02.0685)
Sushi: ║ │ Profiles │ Extensions │ ValueSets │ CodeSystems │ Instances │ ║ (00:02.0689)
Sushi: ║ ├──────────┼────────────┼───────────┼─────────────┼───────────┤ ║ (00:02.0693)
Sushi: ║ │ 4 │ 7 │ 3 │ 3 │ 8 │ ║ (00:02.0696)
Sushi: ║ ?──────────┴────────────┴───────────┴─────────────┴───────────? ║ (00:02.0698)
Sushi: ║ ║ (00:02.0700)
Sushi: ╠═════════════════════════════════════════════════════════════════╣ (00:02.0703)
Sushi: ║ Unfor-tuna-tely, there are errors. 5 Errors 1 Warning ║ (00:02.0705)
Sushi: ╚═════════════════════════════════════════════════════════════════╝ (00:02.0707)
Sushi couldn't be run. Complete output from running Sushi : (00:02.0709)
Note: Check that Sushi is installed correctly ("npm install -g fsh-sushi". On windows, get npm from https://www.npmjs.com/get-npm) (00:02.0711)
Exception: Process exited with an error: 1 (Exit value: 1) (00:02.0713)
Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:02.0715)
(00:02.0717)
The messages at the end (last 4 lines) are where I'm used to starting for errors, so it was a bit confusing to see (though I'll admit that I'm not completely awake yet =) .
Thanks!
David Pyke (Nov 19 2020 at 15:31):
What do you get when you run sushi by itself?
Last updated: Apr 12 2022 at 19:14 UTC