Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unknown object type "asyncfunction" in rollup-plugin-typescript2 #13974

Closed
KrzysztofMadejski opened this issue Jan 7, 2021 · 2 comments
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community

Comments

@KrzysztofMadejski
Copy link

Version

5.0.0

Steps to reproduce

https://github.com/apache/incubator-echarts/wiki/How-to-setup-the-dev-environment

Called node build/build.js --watch, got:

i18n build completed
[1/5/2021, 1:34:05 PM] build bundle start
[1/5/2021, 1:34:22 PM] build error

PLUGIN_ERROR

Error: Unknown object type "asyncfunction"
    at Object._object (/Users/kmadejski/Projects/echarts/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:23697:17)

What is expected?

Project will build

What is actually happening?

Is not building


This is registered as ezolenko/rollup-plugin-typescript2#105, bumping version to 0.29.x resolved the issue, will send PR.

Question: What is the general approach to fix issue present in multiple versions. Do you:

  • fix it in newest and backmerge
  • fix in oldest supported version observed and cherry-picked in new?
  • some other approach?

It would be good to document it in https://github.com/apache/incubator-echarts/wiki/How-to-make-a-pull-request.

@echarts-bot
Copy link

echarts-bot bot commented Jan 7, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Jan 7, 2021
@KrzysztofMadejski
Copy link
Author

It was present 2 days ago, today not anymore. I see rolloup-plugin-typescript was removed in 40b4c84#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519.

Anyhow now --watch option of node build/build.js --watch is not working anymore. It is mentioned on https://github.com/apache/incubator-echarts/wiki/How-to-setup-the-dev-environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community
Projects
None yet
Development

No branches or pull requests

1 participant