Skip to content
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

node version must be < 13 #286

Open
not-my-profile opened this issue Dec 17, 2022 · 0 comments
Open

node version must be < 13 #286

not-my-profile opened this issue Dec 17, 2022 · 0 comments

Comments

@not-my-profile
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant