You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2023/01/17 14:58:34 UTC

[GitHub] [echarts] Jordi-LG commented on issue #16709: [Bug] package.json is missing a package "type": "module" description

Jordi-LG commented on issue #16709:
URL: https://github.com/apache/echarts/issues/16709#issuecomment-1385557124

   Hi, any updates for the issue ? I'm also stuck and got this error when i tried to compil my app.
   
   `import * as echarts from 'echarts'` with echarts 5.4.1
   
   ```
   export * from './lib/export/charts.js';
   ^^^^^^
   
   SyntaxError: Unexpected token 'export'
       at wrapSafe (internal/modules/cjs/loader.js:1001:16)
       at Module._compile (internal/modules/cjs/loader.js:1049:27)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
       at Module.load (internal/modules/cjs/loader.js:950:32)
       at Function.Module._load (internal/modules/cjs/loader.js:790:12)
       at Module.require (internal/modules/cjs/loader.js:974:19)
       at require (internal/modules/cjs/helpers.js:101:18)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org