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

109
Views
La animación SVG de Matter.js/Parcel no se ejecuta en el servidor Bluehost

Implementé una animación SVG de Matter.js en un sitio web, en localhost funciona bien con Parcel. Cuando lo subo al servidor Bluehost con File Manager, la animación no funciona. Recibo el siguiente mensaje de error en la consola:

Error de sintaxis no detectado: el módulo solicitado './scripts/matter.js' no proporciona una exportación denominada 'predeterminada'

Este es mi paquete.json:

 { "name": "my-app", "version": "1.0.0", "type": "module", "description": "", "main": "index.js", "scripts": { "clean:output": "rimraf dist", "start": "parcel index.html", "build": "parcel build index.html", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "matter.js", "collisions" ], "author": "", "license": "ISC", "dependencies": { "bootstrap-grid-only-css": "^4.1.3", "matter-js": "^0.14.2", "parcel": "^2.2.1", "poly-decomp": "^0.3.0" } } ``` And the imports in my index.js file: ``` import PolyDecomp from "./scripts/poly-decomp.js"; import Matter from "./scripts/matter.js"; ``` Thank you in avance, if you can help!
about 4 years ago · Juan Pablo Isaza
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!