[FOLIO-3610] bundling fails in CI with multiple typescript errors Created: 10/Oct/22 Updated: 10/Oct/22 Resolved: 10/Oct/22 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | TBD |
| Reporter: | Zak Burke | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||
| Sprint: | stripes-force 150 | ||||||||||||||||
| Development Team: | None | ||||||||||||||||
| RCA Group: | TBD | ||||||||||||||||
| Description |
|
Summary: yarn stripes build ... is suddenly failing in CI with TypeScript errors despite no related changes to package.json or yarn.lock in the last few hours. build log |
| Comments |
| Comment by Zak Burke [ 10/Oct/22 ] |
|
This caused by the release of @babel/generator 7.19.4. What is less clear is if they introduced a new bug in this release (their problem) or if we have been exploiting a loophole that is now closed in this release (our problem). We can pin to 7.19.3 as a workaround, but @babel/generator is a transitive dependency of @babel/core, which means we'd have to pin it in every single repo, which is not ideal. |
| Comment by Zak Burke [ 10/Oct/22 ] |
|
Also note this is blocked on
|
| Comment by Zak Burke [ 10/Oct/22 ] |
|
Fixed upstream in https://github.com/babel/babel/releases/tag/v7.19.5 |