Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

405
Views
Could not find/install babel plugin 'proposal-decorators' on CodeSandbox with Firebase

I'm trying to use Codesandbox in React project, but I'm stuck with error: Could not find/install babel plugin 'proposal-decorators': Cannot find plugin 'proposal-decorators' or 'babel-plugin-proposal-decorators'. Error happens when I adding firebase utility in the project. On my local machine everythings fine. Here is my code: https://codesandbox.io/s/eloquent-sun-r1bcqv

I tried to:

  1. Install babel/plugin-proposal-decorators and add "@babel/plugin-proposal-decorators": "7.18.2" in dependencies of package.json
  2. Install babel and add "babel": "6.23.0" in dependencies of package.json
  3. Create babel.confing.json file and add {"plugins": ["@babel/plugin-proposal-decorators"]} into that config

What cause the problem? Why there is babel/plugin-proposal-decorators if I didn't add it?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It's because of importing SVG as a ReactComponent. It can't be done in sandboxes.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!