You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to try the new version via the instructions posted on twitter
System information:
I'm getting the same error on Windows 11 and Ubuntu 23.10. (via WSL). I'm using node 22 on both machines.
Steps to reproduce
npx -y create-nx-workspace@latest acme --preset=apps (No CI or remote caching enabled)
cd acme
npm install -D @ng-rspack/nx @ng-rspack/build --legacy-peer-deps
This produces the error:
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm error code 1
npm error path /home/<user>/scratch/acme/node_modules/@ng-rspack/build
npm error command failed
npm error command sh -c node ./src/lib/patch/patch-angular-build.js
npm error node:internal/modules/cjs/loader:1252
npm error throw err;
npm error ^
npm error
npm error Error: Cannot find module '@angular/build/package.json'
npm error Require stack:
npm error - /home/<user>/scratch/acme/node_modules/@ng-rspack/build/src/lib/patch/patch-angular-build.js
npm error at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
npm error at Function.resolve (node:internal/modules/helpers:151:19)
npm error at main (/home/<user>/scratch/acme/node_modules/@ng-rspack/build/src/lib/patch/patch-angular-build.js:4:43)
npm error at Object.<anonymous> (/home/<user>/scratch/acme/node_modules/@ng-rspack/build/src/lib/patch/patch-angular-buil
npm error at Module._compile (node:internal/modules/cjs/loader:1546:14)
npm error at Object..js (node:internal/modules/cjs/loader:1689:10)
npm error at Module.load (node:internal/modules/cjs/loader:1318:32)
npm error at Function._load (node:internal/modules/cjs/loader:1128:12)
npm error at TracingChannel.traceSync (node:diagnostics_channel:315:14)
npm error at wrapModuleLoad (node:internal/modules/cjs/loader:218:24) {
npm error code: 'MODULE_NOT_FOUND',
npm error requireStack: [
npm error '/home/<user>/scratch/acme/node_modules/@ng-rspack/build/src/lib/patch/patch-angular-build.js'
npm error ]
npm error }
npm error
npm error Node.js v22.10.0
npm error A complete log of this run can be found in: /home/<user>/.npm/_logs/2024-10-26T11_37_49_048Z-debug-0.log
I wanted to try the new version via the instructions posted on twitter
System information:
I'm getting the same error on Windows 11 and Ubuntu 23.10. (via WSL). I'm using node 22 on both machines.
Steps to reproduce
npx -y create-nx-workspace@latest acme --preset=apps
(No CI or remote caching enabled)cd acme
npm install -D @ng-rspack/nx @ng-rspack/build --legacy-peer-deps
This produces the error:
The complete debug log can be found here:
2024-10-26T11_37_49_048Z-debug-0.log
The text was updated successfully, but these errors were encountered: