|
|
@@ -79,10 +79,11 @@ Lerna has some common failure modes that you may encounter:
|
|
|
1. `npm ci` fails with a typescript compilation error about a missing package.
|
|
|
This error likely means that the failing package has a `prepare` entry compiling the typescript in its `package.json`.
|
|
|
Fix this error by moving that logic to the `prepublishOnly` entry.
|
|
|
-1. The software builds locally but fails in CI, or vice-versa.
|
|
|
+2. The software builds locally but fails in CI, or vice-versa.
|
|
|
This error likely means that some local build caches need to be cleaned.
|
|
|
The build error may not indicate that this is a caching issue, e.g., it may appear that the packages are being built in the wrong order.
|
|
|
Delete `node_modules/`, `lib/` and `tsconfig.tsbuildinfo` from each package's subdirectory. then try again.
|
|
|
+3. `npm ci` fails due to wrong node version. Make sure to be using `v18`. Node version `v21` is not supported and known to cause issues.
|
|
|
|
|
|
## Audit / Feature Status
|
|
|
|