💻
How are you using Babel?
babel-loader (webpack)
Input code
Starting from yesterday our TS builds failed and we tracked it down to a change in the dependencies of this project.
ERROR in /wrk/Webdesk-CompileOnly_release/node_modules/@types/gensync/index.d.ts
[tsl] ERROR in /wrk/Webdesk-CompileOnly_release/node_modules/@types/gensync/index.d.ts(45,34)
TS1005: ',' expected.
ERROR in /wrk/Webdesk-CompileOnly_release/node_modules/@types/gensync/index.d.ts
[tsl] ERROR in /wrk/Webdesk-CompileOnly_release/node_modules/@types/gensync/index.d.ts(45,47)
TS1005: ',' expected.
The solution for us was to downgrade to 7.26.7
This is what caused the problem for us:
- babel/core was depending on a library called gensync
- however with version 7.26.8 the types dependency to gensync was added as a 'normal' dependency, whereas in previous version it was just a dev-dependency.

Configuration file name
No response
Configuration
No response
Current and expected behavior
I am expecting a working build, without compile problems coming from dependencies
Environment
- Babel version 7.4.28
- Node version: 16.14.0
- OS: MacOS
- Monorepos: Lerna
Possible solution
No response
Additional context
No response
💻
How are you using Babel?
babel-loader (webpack)
Input code
Starting from yesterday our TS builds failed and we tracked it down to a change in the dependencies of this project.
The solution for us was to downgrade to 7.26.7
This is what caused the problem for us:
Configuration file name
No response
Configuration
No response
Current and expected behavior
I am expecting a working build, without compile problems coming from dependencies
Environment
Possible solution
No response
Additional context
No response