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

Cannot run module-federation-vite-angular #4324

Open
SirSerje opened this issue Dec 16, 2024 · 0 comments
Open

Cannot run module-federation-vite-angular #4324

SirSerje opened this issue Dec 16, 2024 · 0 comments

Comments

@SirSerje
Copy link

SirSerje commented Dec 16, 2024

As a developer I cannot run module-federation-vite-angular with using readme.md instructions

ENV:

  • nvm
  • node 20 (22 had same behavior)

STR:

  1. clone repo
  2. cd module-federation-vite-angular
  3. npm run install:deps
  4. npm run preview

AR:

[@analogjs/vite-plugin-angular] The Angular Compiler requires TypeScript >=5.4.0 and <5.6.0 but 4.8.2 was found instead.
│     at checkVersion (file:///home/wk/module-federation-examples/node_modules/.pnpm/@[email protected]_@[email protected]_…
│     at verifySupportedTypeScriptVersion (file:///home/wk/module-federation-examples/node_modules/.pnpm/@[email protected]_@angu…
│     at new NgtscProgram (file:///home/wk/module-federation-examples/node_modules/.pnpm/@[email protected]_@angular+compiler@18.…
│     at buildAndAnalyze (file:///home/wk/module-federation-examples/node_modules/.pnpm/@[email protected]_nwx3sgi33hryabi…
│     at Object.buildStart (file:///home/wk/module-federation-examples/node_modules/.pnpm/@[email protected]_nwx3sgi33hrya…
│     at file:///home/wk/module-federation-examples/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20730…
│     at async Promise.all (index 5)

I switched in deps TS version to 4.8.2 and reinstalled deps, but behavior was same

ER:

Example will run without issue

Notes:

suggestion from /readme.md to do pnpm install; pnpm start does not work, because there is no suitable command for that

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