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

Issue with core-js package during stackblitz example builds #5955

Closed
daniloff200 opened this issue Oct 12, 2020 · 2 comments · Fixed by #5956
Closed

Issue with core-js package during stackblitz example builds #5955

daniloff200 opened this issue Oct 12, 2020 · 2 comments · Fixed by #5956

Comments

@daniloff200
Copy link
Contributor

Bug description:

Right now, if you open any stackblitz demo from the doc page, by pressing at the stackblitz icon near the demo section anchor, you will see an issue, related to core-js, which was not installed

Selection_093

Plunker/StackBlitz that reproduces the issue:
Basically any stackblitz example, like here : https://valor-software.com/ngx-bootstrap/#/alerts#basic

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 6.1.0 and earlier versions

Angular: 9 and 10, maybe 8 too

Expected behavior

No issues during stackblitz example build

@daniloff200
Copy link
Contributor Author

According to stackblitz/angular-cli-template#9, stackblitz will install 3+ version of core-js by default, and, you have to remove it and use, for example, v2.6, and the issue will be fixed. But that's not cool to do that every time :)

@daniloff200
Copy link
Contributor Author

Thanks to @sibiraj-sr and his comment here, we have a way to fix it, by updating the core-js version to 3+, and, changing the imports stackblitz/core#930 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant