feat: support cjs and esm both #981
nodejs.yml
on: pull_request
Node.js
/
Setup
18s
Matrix: Node.js / Test
Annotations
120 errors and 24 warnings
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/Users/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18.19.0):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/home/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/home/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 20):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/home/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 18):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/home/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (ubuntu-latest, 22):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/Users/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/Users/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 22):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. '/Users/runner/work/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 20):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. 'D:/a/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 22):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. 'D:/a/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18.19.0):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. 'D:/a/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 20):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L10
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L11
Could not find a declaration file for module 'await-event'. 'D:/a/egg-core/egg-core/node_modules/await-event/index.js' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../src/index.js'?
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L76
'err' is of type 'unknown'.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L89
Variable 'app' implicitly has type 'any' in some locations where its type cannot be determined.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L97
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L100
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L104
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L108
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (windows-latest, 18):
test/egg.test.ts#L112
Variable 'app' implicitly has an 'any' type.
|
Node.js / Test (macos-latest, 18.19.0):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (macos-latest, 18.19.0):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 18.19.0):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 20):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 20):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 18):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 18):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 22):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (ubuntu-latest, 22):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (macos-latest, 18):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (macos-latest, 18):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (macos-latest, 22):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (macos-latest, 22):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (macos-latest, 20):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (macos-latest, 20):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 22):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 22):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 18.19.0):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 18.19.0):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 20):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 20):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 18):
test/loader/load_file.test.ts#L10
it.only not permitted
|
Node.js / Test (windows-latest, 18):
test/loader/load_file.test.ts#L10
it.only not permitted
|