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

119
Views
'Failed to compile.' error when deploying react app to gh-pages

I'm getting this error when I try to deploy my react app to github pages:

Failed to compile.
The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script

I tried to deploy another very simple react app (the default one) to github and faced no error and was deployed easily. But somehow, when I try to deploy this app, it doesn't work and shows the error that I mentioned earlier (The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script)

Can anyone help?

Here's my github repo that I'm trying to deploy: https://github.com/Muhammad-Abdullah-Zeeshan/todo-list-react

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!