Not able to properly installed DeepAR SDK on web due to compilation error

Compiled with problems:

×

WARNING in ./src/index.js 4:33-47

Can’t import the named export ‘version’ (imported as ‘deepar’) from default-exporting module (only default export is available)

WARNING in ./src/index.js 36:23-40

Can’t import the named export ‘initialize’ (imported as ‘deepar’) from default-exporting module (only default export is available)

How do we troubleshoot this?

Hi,

Can you provide us with the necessary information and steps to reproduce this issue:

  1. Can you reproduce your issue on our quickstart example on GitHub? Those examples are tried and tested, and if you can reproduce the issue on them that will be the fastest way to fix the issue.
  2. What is your DeepAR SKD version?
  3. Can you provide us with the code snippets or a source code?
  4. Write the steps and what you are expecting to happen.
  5. Write the steps and what is actually happening.