fix: remove createRequire for package json #5118
Annotations
4 errors, 7 warnings, and 1 notice
Run pnpm exec playwright test --shard=3/4:
e2e/create-waku.spec.ts#L1
stderr: Error: ENOENT: no such file or directory, open '../package.json'
at Object.readFileUtf8 (node:internal/fs/sync:25:18)
at readFileSync (node:fs:441:19)
at Fx (file:///home/runner/work/waku/waku/packages/create-waku/dist/index.js:119:41) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '../package.json'
}
|
Run pnpm exec playwright test --shard=3/4:
e2e/create-waku.spec.ts#L1
stderr: Error: ENOENT: no such file or directory, open '../package.json'
at Object.readFileUtf8 (node:internal/fs/sync:25:18)
at readFileSync (node:fs:441:19)
at Fx (file:///home/runner/work/waku/waku/e2e/.cache/2e9f85c3-7b03-46ec-9519-b0ee4c7c9781/create-waku/dist/index.js:119:41) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '../package.json'
}
|
Run pnpm exec playwright test --shard=3/4
46833 stderr: TypeError: Unknown file extension ".css" for /home/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-bf7e210c-20241017_react@19.0.0-rc-bf7e210c-20241017__re_wxk2yr6vbyq3hvoxjrkyp3qbli/node_modules/react-tweet/dist/twitter-theme/tweet-info-created-at.module.css
at new NodeError (node:internal/errors:406:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
at defaultLoad (node:internal/modules/esm/load:120:20)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:65:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:248:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:229:17)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --shard=3/4
46833 stderr: TypeError: Unknown file extension ".css" for /home/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-bf7e210c-20241017_react@19.0.0-rc-bf7e210c-20241017__re_wxk2yr6vbyq3hvoxjrkyp3qbli/node_modules/react-tweet/dist/twitter-theme/tweet-actions.module.css
at new NodeError (node:internal/errors:406:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
at defaultLoad (node:internal/modules/esm/load:120:20)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:65:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:248:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:229:17)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run pnpm exec playwright test --shard=3/4:
[firefox] › use-router.spec.ts#L1
[firefox] › use-router.spec.ts took 1.7m
|
Run pnpm exec playwright test --shard=3/4:
[webkit] › broken-link.spec.ts#L1
[webkit] › broken-link.spec.ts took 1.2m
|
Run pnpm exec playwright test --shard=3/4:
[webkit] › examples-smoke.spec.ts#L1
[webkit] › examples-smoke.spec.ts took 49.6s
|
Run pnpm exec playwright test --shard=3/4:
[firefox] › ssg-performance.spec.ts#L1
[firefox] › ssg-performance.spec.ts took 26.6s
|
Run pnpm exec playwright test --shard=3/4:
[firefox] › partial-builds.spec.ts#L1
[firefox] › partial-builds.spec.ts took 24.8s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-ubuntu-latest-18.17.0-1", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-latest-20.8.0-4".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run pnpm exec playwright test --shard=3/4
5 skipped
114 passed (8.7m)
|
Loading