Description
When building a library as a dependency the lock file in this repo is not honored. This is expected behavior. Unfortunately with the current versions specified in the package.json this library will not build. Even though your CI builds since it is using the lock file. FYI libraries should not commit their lock file for this exact reason. yarnpkg/yarn#838 (comment)
Build Error
Below is the build error
src/urdf/UrdfModel.js:35:7 - error TS2322: Type 'Element | null' is not assignable to type 'Element | undefined'.
Type 'null' is not assignable to type 'Element | undefined'.
35 xmlDoc = parser.parseFromString(string, MIME_TYPE.XML_TEXT).documentElement;
~~~~~~
Found 1 error in src/urdf/UrdfModel.js:35
Lock File Diff
Below is the diff between the committed lock file and one generated fresh.
Solution
Ideally the package.json should be updated to reflect the required versions of dependencies.
Description
When building a library as a dependency the lock file in this repo is not honored. This is expected behavior. Unfortunately with the current versions specified in the package.json this library will not build. Even though your CI builds since it is using the lock file. FYI libraries should not commit their lock file for this exact reason. yarnpkg/yarn#838 (comment)
Build Error
Below is the build error
Lock File Diff
Below is the diff between the committed lock file and one generated fresh.
Solution
Ideally the package.json should be updated to reflect the required versions of dependencies.