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

Uncaught SyntaxError: application '' died in status LOADING_SOURCE_CODE: Unexpected token 'export' - [email protected] #441

Closed
ambashy opened this issue Feb 12, 2025 · 1 comment

Comments

@ambashy
Copy link

ambashy commented Feb 12, 2025

While i trying to access the react application (created using [email protected]) through the browser([(http://localhost:8080/) i am getting the LOADING_SOURCE_CODE: Unexpected token 'export' error in the console. When i configured this app with root app the root app is working fine and i can see the react application pages. when i try to run the app individually i am getting the mentioned error . could you please help me to resolve this issue as soon as possible.

Image

@joeldenning
Copy link
Member

Latest versions of webpack-config-single-spa output to native modules that use export - this error likely means you need to upgrade your root config to use native modules, or to tell webpack-config-single-spa to continue outputting to systemjs format via the outputSystemJS option. See related single-spa/single-spa.js.org#664

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