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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project works localy but does not work in codesandbox.io #5946

Closed
3 tasks done
babich-a opened this issue Jul 5, 2021 · 2 comments
Closed
3 tasks done

Project works localy but does not work in codesandbox.io #5946

babich-a opened this issue Jul 5, 2021 · 2 comments

Comments

@babich-a
Copy link

babich-a commented Jul 5, 2021

馃悰 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

After upgrade the devextreme library some sandboxes stop working with angular framework.

How has this issue affected you? What are you trying to accomplish?

To Reproduce

Here a simple example made from vanilla-typescript template.
It works with devextreme@21.1.3, but does not work with devextreme@21.1.4 (you can change it in package.json). It works with devextreme@21.1.4 too if I download the project and build it with npm run build.

In most cases, I have the following error in console (BrowserModule is included):

Unhandled Promise rejection: No ErrorHandler. Is platform module (BrowserModule) included? ; Zone: <root> ; Task: Promise.then ; Value: Error: No ErrorHandler. Is platform module (BrowserModule) included?

Sometimes I get the following error:

Cannot use import statement outside a module

The same issue I have in angular project https://codesandbox.io/s/jolly-aryabhata-q6dnr?file=/package.json made from condesandbox angular template.
Only dependencies were added to the package.json

    "devextreme": "21.1.4",
    "devextreme-angular": "21.1.4"

and import to the app.module.ts

import { DxButtonModule } from "devextreme-angular";
....
imports: [BrowserModule, DxButtonModule],

I understand that most likely the problem is in the devextreme library. But I can't understand where.

Link to sandbox: link (optional)

Your Environment

Software Name/Version
小odesandbox
Browser Chrome 91, FF 89
Operating System Windows 10
@DokaRus
Copy link

DokaRus commented Jul 9, 2021

Seems to be the same issue as #5943 (some dependencies use core-js >= 3.12

@babich-a
Copy link
Author

Can be closed with #5943

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

No branches or pull requests

2 participants