Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

160
Vistas
Parcel.js Error When Executing On Google Scripts

I'm developing a React App and pushing the files using Clasp to my google scripts webapp. Parcel.js is being used for compiling. Here's a basic React App that works:

index.js

import { createRoot } from 'react-dom/client';
import App from './App';

const container = document.getElementById('app');
const root = createRoot(container); // createRoot(container!) if you use TypeScript
root.render(<App />);

App.js

//app.js
const App = () => {
    return <div>Hello App!</div>
}

export default App

But as soon as I add one @mui/material/ import into App.js I'm getting an error.

import Button from "@mui/material/Button"

const App = () => {
    return <div>Hello App!</div>
}

export default App

Notice that I'm not even using the Button. Locally there's no error but when running on google scripts webapp, I get a console error:

Uncaught SyntaxError: missing ) after argument list

Obviously, Parcel is not compiling something correctly but I can't figure it out. Thanks in advance for the help.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda