FHIR Chat · Sushi loader fail · IG creation

Stream: IG creation

Topic: Sushi loader fail


view this post on Zulip Brett Esler (Nov 25 2020 at 01:28):

Hi all - is there something I can do about this issue http://build.fhir.org/ig/aehrc/primary-care-data-technical/branches/master/failure/build.log my Sushi build never gets started

Sushi: internal/modules/cjs/loader.js:985                                        (00:00.0218)
Sushi: throw err;                                                                (00:00.0218)
Sushi: ^                                                                         (00:00.0218)
Sushi:                                                                           (00:00.0219)
Sushi: Error: Cannot find module 'antlr4/error'                                  (00:00.0219)

view this post on Zulip Mark Scrimshire (Nov 25 2020 at 03:06):

I am getting an antlr4/error on my build.fhir.org build I was compiling locally with 0.16.0 but build.fhir.org is using fsh-sushi 1.0.1. I upgraded local copy to feh-sushi@1.0.1 and now I get the same issue in loader

view this post on Zulip Mark Scrimshire (Nov 25 2020 at 03:08):

Build.fhir.org gives following sushi/antlr4 error:
/usr/local/bin/sushi -> /usr/local/lib/node_modules/fsh-sushi/dist/app.js
npm WARN notsup Unsupported engine for antlr4@4.9.0: wanted: {"node":">=14"} (current: {"node":"12.16.1","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: antlr4@4.9.0

...

Sushi: npx: installed 111 in 4.976s (00:05.0058)
Sushi: Cannot find module 'antlr4/error' (00:05.0231)
Sushi: Require stack: (00:05.0231)

view this post on Zulip Grahame Grieve (Nov 25 2020 at 03:13):

probably better to task on #shorthand


Last updated: Apr 12 2022 at 19:14 UTC