@@ -63,6 +63,7 @@ JC may be available to work remotely and can be contacted at these links:
63
63
* [ Add the Nx Package for Angular] ( #add-the-nx-package-for-angular )
64
64
* [ Add the Nx Package for React] ( #add-the-nx-package-for-react )
65
65
* [ Fix the NPM Install Error] ( #fix-the-npm-install-error )
66
+ * [ Fix the Build Error] ( #fix-the-build-error )
66
67
* [ Generate the Angular Host App and Two Remotes] ( #generate-the-angular-host-app-and-two-remotes )
67
68
* [ Commit and Push the Changes for the Angular Host App] ( #commit-and-push-the-changes-for-the-angular-host-app )
68
69
* [ Build and Run the Host Application] ( #build-and-run-the-host-application )
@@ -150,12 +151,15 @@ nx add @nx/angular
150
151
nx add @nx/react
151
152
```
152
153
153
- ### Fix the NPM Install Error
154
+ ### Fix the Nx Bug for NPM Install Error
154
155
155
156
If you get an error when running the ` npm install ` command,
156
157
you will need to fix the error or use the ` --force ` option.
157
158
158
159
This 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
159
163
160
164
I was able to fix the error by changing the ` package.json ` file as follows.
161
165
@@ -171,6 +175,22 @@ I was able to fix the error by changing the `package.json` file as follows.
171
175
"jest-util": "^29.5.0",
172
176
```
173
177
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
+
174
194
Commit and push the changes.
175
195
176
196
## Generate the Angular Host App and Two Remotes
@@ -222,6 +242,9 @@ nx run host:serve:development
222
242
223
243
In this example, ` host ` is the name of the host application.
224
244
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
+
225
248
In the Run console output, it should include the browser address.
226
249
227
250
```
@@ -339,6 +362,9 @@ nx run remote3:serve:development
339
362
340
363
In this example, ` remote3 ` is the name of the React remote application.
341
364
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
+
342
368
Look in the Run console output for the browser address.
343
369
In this case, it is:
344
370
0 commit comments