feat: refactor with typescript to support esm and cjs both #112
nodejs.yml
on: pull_request
Node.js
/
Setup
6s
Matrix: Node.js / Test
Annotations
7 errors
Node.js / Test (ubuntu-latest, 16)
Process completed with exit code 1.
|
Node.js / Test (ubuntu-latest, 18):
bin/detect-port.ts#L8
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Node.js / Test (ubuntu-latest, 18)
Process completed with exit code 2.
|
Node.js / Test (ubuntu-latest, 22):
bin/detect-port.ts#L8
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Node.js / Test (ubuntu-latest, 22)
Process completed with exit code 2.
|
Node.js / Test (ubuntu-latest, 20):
bin/detect-port.ts#L8
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
|
Node.js / Test (ubuntu-latest, 20)
Process completed with exit code 2.
|