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

438
Views
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted [magic]

When using the magic-sdk v8.0.1 I am getting this warning:

warn  - ./node_modules/magic-sdk/dist/es/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Can someone tell me what is happening here?

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

0

The problem is related to the magic-sdk's ESM output. You can ignore this warning because it is not considered a bug or make your bundler config to resolve magic-sdk to its CommonJS entrypoint (magic-sdk/dist/cjs/index.js).

A detailed explanation could be found here: https://github.com/magiclabs/magic-js/issues/295

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!