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

Remote exposed file not found #754

Open
michele-cassani opened this issue Feb 4, 2025 · 0 comments
Open

Remote exposed file not found #754

michele-cassani opened this issue Feb 4, 2025 · 0 comments

Comments

@michele-cassani
Copy link

For which library do you need help?

native-federation

Question

Running the Shell app and the Host upp using serve I'm having this situation:

remoteEntry.json on http://localhost:4301
"exposes": [{"key": "./remoteRoutes","outFileName": "remoteRoutes.js","dev": {"entryPoint": "/Users/****/Projects/****/src/app/app.routes.ts"}}]

When the host try to load the exposed file get a 404 loading http://localhost:4301/remoteRoutes.js that is not existing on the serve instance (in the dist folder this file does not exist, but if I build the module the file is created with chunks), what I'm doing wrong?

NB: I've added ** in the remoteEntry just to hide sensitive data

Runned on a MacOS
"@angular/cli": "^19.1.5"
"@angular-architects/native-federation": "^19.0.9"

If you need any other configuration I'm available

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

1 participant