github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Webpack compilation error - Class private methods are not enabled

Open clazette opened this issue 4 years ago • 0 comments

I have some classes utilizing private methods. Cypress 7.6.0 didn't have an issue. When I upgraded to 7.7.0, this Webpack compilation error began occurring. Is there a way around this?

Error: Webpack Compilation Error Module build failed (from C:/Users/UserDir/AppData/Local/Cypress/Cache/7.7.0/Cypress/resources/app/packages/server/node_modules/babel-loader/lib/index.js): SyntaxError: Class private methods are not enabled.

clazette avatar Jul 16 '21 16:07 clazette