fix: remove createRequire for package json #5115
Annotations
4 errors, 6 warnings, and 1 notice
Run pnpm exec playwright test --shard=2/4:
e2e/create-waku.spec.ts#L1
stderr: Error: ENOENT: no such file or directory, open 'D:\a\waku\waku\e2e\.cache\package.json'
at readFileSync (node:fs:441:20)
at Fx (file:///D:/a/waku/waku/packages/create-waku/dist/index.js:119:41) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'D:\\a\\waku\\waku\\e2e\\.cache\\package.json'
}
|
Run pnpm exec playwright test --shard=2/4:
e2e/create-waku.spec.ts#L1
stderr: Error: ENOENT: no such file or directory, open 'D:\a\waku\waku\e2e\.cache\package.json'
at readFileSync (node:fs:441:20)
at Fx (file:///D:/a/waku/waku/e2e/.cache/fdcaae50-7dc9-4238-b3a1-ba0a416f8ab0/create-waku/dist/index.js:119:41) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'D:\\a\\waku\\waku\\e2e\\.cache\\package.json'
}
|
Run pnpm exec playwright test --shard=2/4
62200 stderr: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for D:\a\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 Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:217:9)
at defaultGetFormat (node:internal/modules/esm/get_format:243:36)
at defaultLoad (node:internal/modules/esm/load:123:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:567:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:442:45) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --shard=2/4
62200 stderr: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for D:\a\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 Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:217:9)
at defaultGetFormat (node:internal/modules/esm/get_format:243:36)
at defaultLoad (node:internal/modules/esm/load:123:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:567:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:442:45) {
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=2/4:
[chromium] › use-router.spec.ts#L1
[chromium] › use-router.spec.ts took 2.6m
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › broken-link.spec.ts#L1
[firefox] › broken-link.spec.ts took 1.7m
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › multi-platform.spec.ts#L1
[firefox] › multi-platform.spec.ts took 1.0m
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › examples-smoke.spec.ts#L1
[firefox] › examples-smoke.spec.ts took 1.0m
|
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-20.8.0-2", "playwright-report-ubuntu-latest-22.7.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=2/4
5 skipped
97 passed (9.6m)
|
Loading