@@ -63,6 +63,7 @@ JC may be available to work remotely and can be contacted at these links:
6363 * [ Add the Nx Package for Angular] ( #add-the-nx-package-for-angular )
6464 * [ Add the Nx Package for React] ( #add-the-nx-package-for-react )
6565 * [ Fix the NPM Install Error] ( #fix-the-npm-install-error )
66+ * [ Fix the Build Error] ( #fix-the-build-error )
6667* [ Generate the Angular Host App and Two Remotes] ( #generate-the-angular-host-app-and-two-remotes )
6768 * [ Commit and Push the Changes for the Angular Host App] ( #commit-and-push-the-changes-for-the-angular-host-app )
6869* [ Build and Run the Host Application] ( #build-and-run-the-host-application )
@@ -150,12 +151,15 @@ nx add @nx/angular
150151nx add @nx/react
151152```
152153
153- ### Fix the NPM Install Error
154+ ### Fix the Nx Bug for NPM Install Error
154155
155156If you get an error when running the ` npm install ` command,
156157you will need to fix the error or use the ` --force ` option.
157158
158159This error is caused by a dependency conflict between the packages that this version of nx uses.
160+ This is a known issue.
161+
162+ https://github.com/nrwl/nx/issues/32530
159163
160164I was able to fix the error by changing the ` package.json ` file as follows.
161165
@@ -171,6 +175,22 @@ I was able to fix the error by changing the `package.json` file as follows.
171175"jest-util": "^29.5.0",
172176```
173177
178+ ### Fix the Nx Bug for Build Error
179+
180+ If you get an error when running the ` nx build ` or ` nx serve ` command,
181+ you will need to fix the error.
182+
183+ There is a bug in the Nx build process that causes the build to fail.
184+ This is a known issue.
185+
186+ https://github.com/nrwl/nx/issues/32542
187+
188+ The workaround is to add rspack to your ` package.json ` , ` devDependencies ` as follows.
189+
190+ ```
191+ "@rspack/core": "1.4.11",
192+ ```
193+
174194Commit and push the changes.
175195
176196## Generate the Angular Host App and Two Remotes
@@ -222,6 +242,9 @@ nx run host:serve:development
222242
223243In this example, ` host ` is the name of the host application.
224244
245+ ** NOTE:** At the moment, there is a bug in the Nx Build process that causes the build to fail.
246+ See [ Fix the Build Error] ( #fix-the-build-error )
247+
225248In the Run console output, it should include the browser address.
226249
227250```
@@ -339,6 +362,9 @@ nx run remote3:serve:development
339362
340363In this example, ` remote3 ` is the name of the React remote application.
341364
365+ ** NOTE:** At the moment, there is a bug in the Nx Build process that causes the build to fail.
366+ See [ Fix the Build Error] ( #fix-the-build-error )
367+
342368Look in the Run console output for the browser address.
343369In this case, it is:
344370
0 commit comments