chore(deps): update dependency @swc/plugin-styled-components to v4 - autoclosed #814
Annotations
4 errors and 1 notice
Run pnpm qa:
playground/styled-components/__tests__/styled-components.spec.ts#L1
1) [chromium] › playground/styled-components/__tests__/styled-components.spec.ts:9:1 › styled-components build
Error: [vite:react-swc] failed to handle: failed to invoke plugin: failed to invoke plugin on 'Some("/home/runner/work/vite-plugin-react-swc/vite-plugin-react-swc/playground-temp/styled-components/src/index.tsx")'
Caused by:
0: failed to invoke `/home/runner/work/vite-plugin-react-swc/vite-plugin-react-swc/node_modules/.pnpm/@swc[email protected]/node_modules/@swc/plugin-styled-components/swc_plugin_styled_components.wasm` as js transform plugin at /home/runner/work/vite-plugin-react-swc/vite-plugin-react-swc/node_modules/.pnpm/@swc[email protected]/node_modules/@swc/plugin-styled-components/swc_plugin_styled_components.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See the documentation for compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
Note that if you want to use the os features like filesystem, you need to use `wasi`. Wasm itself does not have concept of filesystem.
https://swc.rs/docs/plugin/selecting-swc-core
See https://plugins.swc.rs/versions/from-plugin-runner/0.113.0 for the list of the compatible versions.
Build info:
Date: 2024-09-11
Timestamp: 2024-09-11T08:57:39.189608952Z
Version info:
swc_plugin_runner: 0.113.0
Dependencies: anyhow 1.0.87,codspeed-criterion-compat 2.7.1,criterion 0.5.1,enumset 1.1.5,futures 0.3.30,once_cell 1.19.0,parking_lot 0.12.3,serde 1.0.210,serde_json 1.0.128,swc_atoms 0.6.7,swc_common 0.38.0,swc_css_ast 0.145.0,swc_css_parser 0.155.0,swc_ecma_ast 0.119.0,swc_ecma_loader 0.50.0,swc_ecma_parser 0.150.0,swc_ecma_visit 0.105.0,swc_malloc 0.5.11,swc_plugin_proxy 0.48.0,testing 0.40.0,tokio 1.40.0,tracing 0.1.40,vergen 9.0.0,virtual-fs 0.11.4,wasmer 4.3.5,wasmer-cache 4.3.5,wasmer-compiler-cranelift 4.3.5,wasmer-wasix 0.25.0
2: RuntimeError: unreachable
at <unnamed> (<module>[4658]:0x1963d5)
at <unnamed> (<module>[4653]:0x1962ab)
at <unnamed> (<module>[4652]:0x19627e)
at <unnamed> (<module>[4633]:0x19556d)
at <unnamed> (<module>[4632]:0x1954d9)
at <unnamed> (<module>[4644]:0x195c12)
at <unnamed> (<module>[4798]:0x1a847e)
at <unnamed> (<module>[4824]:0x1a9f74)
at <unnamed> (<module>[1000]:0x7b8ca)
at <unnamed> (<module>[999]:0x7b679)
at <unnamed> (<module>[56]:0x37a9)
at <unnamed> (<module>[726]:0x70cab)
at <unnamed> (<module>[4926]:0x1b12a7)
file: /home/runner/work/vite-plugin-react-swc/vite-plugin-react-swc/playground-temp/styled-components/src/index.tsx
|
Run pnpm qa:
playground/styled-components/__tests__/styled-components.spec.ts#L1
2) [chromium] › playground/styled-components/__tests__/styled-components.spec.ts:25:1 › styled-components HMR
Test timeout of 10000ms exceeded.
|
Run pnpm qa:
playground/styled-components/__tests__/styled-components.spec.ts#L33
2) [chromium] › playground/styled-components/__tests__/styled-components.spec.ts:25:1 › styled-components HMR
Error: expect(locator).toHaveText(expected)
Locator: locator('button')
Expected string: "count is 0"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 30000ms
- waiting for locator('button')
31 |
32 | const button = page.locator("button");
> 33 | await expect(button).toHaveText("count is 0", { timeout: 30000 });
| ^
34 | await expectColor(button, "color", "#ffffff");
35 | await button.click();
36 | await expect(button).toHaveText("count is 1");
at /home/runner/work/vite-plugin-react-swc/vite-plugin-react-swc/playground/styled-components/__tests__/styled-components.spec.ts:33:24
|
Run pnpm qa
Process completed with exit code 1.
|
Run pnpm qa
2 failed
[chromium] › playground/styled-components/__tests__/styled-components.spec.ts:9:1 › styled-components build
[chromium] › playground/styled-components/__tests__/styled-components.spec.ts:25:1 › styled-components HMR
17 passed (28.6s)
|
Loading