Skip to content

Fix ESM import failure in v4.0.1 (#158) #174

Fix ESM import failure in v4.0.1 (#158)

Fix ESM import failure in v4.0.1 (#158) #174

Triggered via pull request July 26, 2025 12:14
Status Failure
Total duration 25s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build (16.x)
Process completed with exit code 1.
build (16.x): scripts/postbuild.js#L80
'console' is not defined
build (16.x): scripts/postbuild.js#L77
'console' is not defined
build (16.x): scripts/postbuild.js#L66
'console' is not defined
build (16.x): scripts/postbuild.js#L62
'console' is not defined
build (16.x): scripts/postbuild.js#L52
'__dirname' is not defined
build (16.x): scripts/postbuild.js#L2
'require' is not defined
build (16.x): scripts/postbuild.js#L2
Require statement not part of import statement
build (16.x): scripts/postbuild.js#L1
'require' is not defined
build (16.x): scripts/postbuild.js#L1
Require statement not part of import statement
build (16.x): src/deco3/utils.ts#L1
All imports in the declaration are only used as types. Use `import type`