Error Babel: Missing class properties Transform

Asked

Viewed 11 times

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 (or babel.config.js) and package.json.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.