nx icon indicating copy to clipboard operation
nx copied to clipboard

CI Broken after Migration to 20.0.1

Open phihochzwei opened this issue 4 months ago • 5 comments

Current Behavior

After Migrating to NX 20.0.1 our complete CI on Gitlab is broken:

Failed to process project graph. Run "nx reset" to fix this. Please report the issue if you keep seeing it. 

An error occurred while processing files for the @nx/storybook/plugin plugin.
 - libs/storybook-host/.storybook/main.ts: invalid type: unit value, expected struct Options
 Error: invalid type: unit value, expected struct Options
 at module.exports.__wbindgen_error_new (/home/metti/code/newhorizon/storefront-v2/node_modules/@swc/wasm/wasm.js:557:17)          at null.<anonymous> (wasm://wasm/0527b1ce:1:15418300)          at null.<anonymous> (wasm://wasm/0527b1ce:1:16314492)          at null.<anonymous> (wasm://wasm/0527b1ce:1:16470335)          at null.<anonymous> (wasm://wasm/0527b1ce:1:5304822)          at null.<anonymous> (wasm://wasm/0527b1ce:1:3105157)          at null.<anonymous> (wasm://wasm/0527b1ce:1:12649011)          at null.<anonymous> (wasm://wasm/0527b1ce:1:1466962)          at null.<anonymous> (wasm://wasm/0527b1ce:1:2825419)          at null.<anonymous> (wasm://wasm/0527b1ce:1:1929194)    - libs/ui-common/.storybook/main.ts: invalid type: unit value, expected struct Options      Error: invalid type: unit value, expected struct Options          at module.exports.__wbindgen_error_new (/home/metti/code/newhorizon/storefront-v2/node_modules/@swc/wasm/wasm.js:557:17)          at null.<anonymous> (wasm://wasm/0527b1ce:1:15418300)          at null.<anonymous> (wasm://wasm/0527b1ce:1:16314492)          at null.<anonymous> (wasm://wasm/0527b1ce:1:16470335)          at null.<anonymous> (wasm://wasm/0527b1ce:1:5304822)          at null.<anonymous> (wasm://wasm/0527b1ce:1:3105157)          at null.<anonymous> (wasm://wasm/0527b1ce:1:12649011)          at null.<anonymous> (wasm://wasm/0527b1ce:1:1466962)          at null.<anonymous> (wasm://wasm/0527b1ce:1:2825419)          at null.<anonymous> (wasm://wasm/0527b1ce:1:1929194)    - libs/ui-dse/.storybook/main.ts: invalid type: unit value, expected struct Options      Error: invalid type: unit value, expected struct Options          at module.exports.__wbindgen_error_new (/home/metti/code/newhorizon/storefront-v2/node_modules/@swc/wasm/wasm.js:557:17)          at null.<anonymous> (wasm://wasm/0527b1ce:1:15418300)          at null.<anonymous> (wasm://wasm/0527b1ce:1:16314492)          at null.<anonymous> (wasm://wasm/0527b1ce:1:16470335)          at null.<anonymous> (wasm://wasm/0527b1ce:1:5304822)          at null.<anonymous> (wasm://wasm/0527b1ce:1:3105157)          at null.<anonymous> (wasm://wasm/0527b1ce:1:12649011)          at null.<anonymous> (wasm://wasm/0527b1ce:1:1466962)          at null.<anonymous> (wasm://wasm/0527b1ce:1:2825419)          at null.<anonymous> (wasm://wasm/0527b1ce:1:1929194)

Expected Behavior

I expect the CI to run as before

GitHub Repo

No response

Steps to Reproduce

  1. Migrate from 19.8.4 to 20.0.1
  2. Test everything locally with success
  3. Comit/Push to Gitlab

Nx Report

Node : 22.2.0 OS : darwin-arm64 Native Target : aarch64-macos npm : 10.7.0

nx : 19.8.4 @nx/js : 19.8.4 @nx/jest : 19.8.4 @nx/linter : 19.8.4 @nx/eslint : 19.8.4 @nx/workspace : 19.8.4 @nx/angular : 20.0.1 @nx/cypress : 19.8.4 @nx/devkit : 19.8.4 @nx/eslint-plugin : 19.8.4 @nx/nest : 19.8.4 @nx/node : 19.8.4 @nx/plugin : 19.8.4 @nx/storybook : 19.8.4 @nrwl/tao : 19.8.4 @nx/web : 20.0.1 @nx/webpack : 20.0.1 typescript : 5.5.3

Registered Plugins: @nx/storybook/plugin

Community plugins: @ngrx/component : 18.0.2 @ngrx/effects : 18.0.2 @ngrx/entity : 18.0.2 @ngrx/router-store : 18.0.2 @ngrx/schematics : 18.0.2 @ngrx/store : 18.0.2 @ngrx/store-devtools : 18.0.2 @storybook/angular : 8.3.5 ng-mocks : 14.13.1 ng2-charts : 6.0.1

Local workspace plugins: @deich-lib/workspace-plugin

The following packages should match the installed version of nx

Failure Logs

No response

Package Manager Version

No response

Operating System

  • [x] macOS
  • [x] Linux
  • [ ] Windows
  • [ ] Other (Please specify)

Additional Information

No response

phihochzwei avatar Oct 17 '24 13:10 phihochzwei