0
I’m trying to run an application, Node and Babel/webpack, but when I run the application the application page is just loading and soon after appears the following error in the console. And the system just stops charging.
SyntaxError: C:\Users\wital\OneDrive\Área de Trabalho\geral-main\node_modules\polycrc\polycrc.js: Missing class properties transform.
202 | }
203 |
> 204 | fromByteArray = Buffer.from.bind(Buffer)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
205 | fromString = Buffer.from.bind(Buffer)
206 | }
207 |
Note: The project does not have the . babelrc (or Babel.config.js)
Edit the question to include your file
.babelrc
(orbabel.config.js
) andpackage.json
.– Luiz Felipe