You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "dongfangtianyu (via GitHub)" <gi...@apache.org> on 2023/09/20 07:57:28 UTC
[GitHub] [echarts] dongfangtianyu commented on issue #19078: [Bug] import * as echarts from 'echarts/core' get error: export * from './lib/export/core.js';
dongfangtianyu commented on issue #19078:
URL: https://github.com/apache/echarts/issues/19078#issuecomment-1727175172
Hi, I have encountered the same issue, node.js version: 18.12
to @Ovilia Please :
that the code written by the user is
```
import * as echarts from 'echarts/core'
```
while the code written by eccharts is
```
export * from './lib/export/core.js';
```
https://github.com/apache/echarts/blob/fa231d37fe2788f5c8dfa5a86299ea8339d60897/build/template/core.js#L20
> where you should use import * from instead of export * from
So, it seems to be related to Echarts
--
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