Skip to content

#580 Master Node

#580 Master Node #452

Triggered via pull request July 7, 2024 07:37
Status Failure
Total duration 1m 9s
Artifacts

code-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
src/util/save.test.ts: node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js#L2
ReferenceError: exports is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/rmp/rmp/node_modules/@choc-ui/chakra-autocomplete/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ❯ node_modules/@choc-ui/chakra-autocomplete/dist/index.js:1:36 ❯ node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js:2:31
src/util/to-rmg.test.ts: node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js#L2
ReferenceError: exports is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/rmp/rmp/node_modules/@choc-ui/chakra-autocomplete/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ❯ node_modules/@choc-ui/chakra-autocomplete/dist/index.js:1:36 ❯ node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js:2:31
src/components/page-header/global-alerts.test.tsx: node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js#L2
ReferenceError: exports is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/rmp/rmp/node_modules/@choc-ui/chakra-autocomplete/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ❯ node_modules/@choc-ui/chakra-autocomplete/dist/index.js:1:36 ❯ node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js:2:31
src/redux/param/param-slice.test.ts: node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js#L2
ReferenceError: exports is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/rmp/rmp/node_modules/@choc-ui/chakra-autocomplete/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ❯ node_modules/@choc-ui/chakra-autocomplete/dist/index.js:1:36 ❯ node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js:2:31
src/redux/runtime/runtime-slice.test.ts: node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js#L2
ReferenceError: exports is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/rmp/rmp/node_modules/@choc-ui/chakra-autocomplete/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ❯ node_modules/@choc-ui/chakra-autocomplete/dist/index.js:1:36 ❯ node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js:2:31
src/components/svgs/stations/mtr.test.ts: node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js#L2
ReferenceError: exports is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/rmp/rmp/node_modules/@choc-ui/chakra-autocomplete/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ❯ node_modules/@choc-ui/chakra-autocomplete/dist/index.js:1:36 ❯ node_modules/@railmapgen/rmg-components/dist/rmg-auto-complete/rmg-auto-complete.js:2:31
check
Process completed with exit code 1.
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/