act-rules / act-rules-web

Source for ACT Rules website
https://act-rules.github.io/
Other
3 stars 5 forks source link

node version must be < 13 #286

Open not-my-profile opened 1 year ago

not-my-profile commented 1 year ago

After I addressed #285 by removing all the resolved URLs from package-lock.json npm install still failed, in particular the installation of act-rules-implementation-mapper failed with the following error. Apparently that is due to act-rules-implementation-mapper only supporting Node < 13 (see also act-rules/act-rules-implementation-mapper/pull/25). I was initially trying to use the latest Node 16, changing to Node 12 did do the trick ... I think it would be nice if npm install worked out of the box with the latest version of Node.

npm ERR! > act-rules-implementation-mapper@2.0.0 postinstall
npm ERR! > npm run build
npm ERR! 
npm ERR! 
npm ERR! > act-rules-implementation-mapper@2.0.0 build
npm ERR! > tsc
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:2:68 - error TS1144: '{' or ';' expected.
npm ERR! 
npm ERR! 2     function assert(value: any, message?: string | Error): asserts value;
npm ERR!                                                                      ~~~~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:53:68 - error TS1144: '{' or ';' expected.
npm ERR! 
npm ERR! 53         function ok(value: any, message?: string | Error): asserts value;
npm ERR!                                                                       ~~~~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:62:94 - error TS1144: '{' or ';' expected.
npm ERR! 
npm ERR! 62         function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
npm ERR!                                                                                                 ~~~~~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:62:101 - error TS1005: ';' expected.
npm ERR! 
npm ERR! 62         function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
npm ERR!                                                                                                        ~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:62:104 - error TS1005: ';' expected.
npm ERR! 
npm ERR! 62         function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
npm ERR!                                                                                                           ~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:64:98 - error TS1144: '{' or ';' expected.
npm ERR! 
npm ERR! 64         function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
npm ERR!                                                                                                     ~~~~~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:64:105 - error TS1005: ';' expected.
npm ERR! 
npm ERR! 64         function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
npm ERR!                                                                                                            ~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:64:108 - error TS1005: ';' expected.
npm ERR! 
npm ERR! 64         function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
npm ERR!                                                                                                               ~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:72:47 - error TS1144: '{' or ';' expected.
npm ERR! 
npm ERR! 72         function ifError(value: any): asserts value is null | undefined;
npm ERR!                                                  ~~~~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:72:53 - error TS1005: ';' expected.
npm ERR! 
npm ERR! 72         function ifError(value: any): asserts value is null | undefined;
npm ERR!                                                        ~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:72:56 - error TS1005: ';' expected.
npm ERR! 
npm ERR! 72         function ifError(value: any): asserts value is null | undefined;
npm ERR!                                                           ~~~~
npm ERR! 
npm ERR! node_modules/@types/node/assert.d.ts:99:61 - error TS1005: ';' expected.
npm ERR! 
npm ERR! 99             (value: any, message?: string | Error): asserts value;
npm ERR!                                                                ~~~~~
npm ERR! 
npm ERR! 
npm ERR! Found 12 errors.