Open markusahrweileramcon opened 2 days ago
You need to replace the path in "/node_modules/@angular-architects/native-federation/src/utils/patch-angular-build.js"
- const packagePath = path.join(workspaceRoot, 'node_modules/@angular/build/package.json');
- const privatePath = path.join(workspaceRoot, 'node_modules/@angular/build/private.js');
+ const packagePath = path.join(workspaceRoot, 'node_modules/.pnpm/node_modules/@angular/build/package.json');
+ const privatePath = path.join(workspaceRoot, 'node_modules/.pnpm/node_modules/@angular/build/private.js');
and apply the patch :
node node_modules/@angular-architects/native-federation/src/patch-angular-build.js
When i create a fresh workspace with pnpm and i want to run any application, I get the following error: