Closed pumano closed 1 month ago
It does work with Angular v18. If you're using yarn
, it does not install peer dependencies. So you need to explicitly add them to your package.json
.
yarn add @angular-devkit/build-angular --dev
Example repo https://github.com/brandonroberts/angular-nx-storybook-vite
I have that direct dependency angular-devkit/build-angular
when I submit issue. But that error exists
I had the same issue running unit tests via vitest.
Installing @angular/build
as directy dev dependency solved the issue for me.
npm i -D @angular/build
Please provide the environment you discovered this bug in.
use https://github.com/brandonroberts/angular-v17-vite-storybook and update angular to 18.x latest
Which area/package is the issue in?
vite-plugin-angular
Description
I simply use angular 18 with https://analogjs.org/docs/integrations/storybook but it's not working
Please provide the exception or error you saw
Other information
when manually try to force 18 angular in @analogjs/vite-plugin-angular/src/lib/devkit.js
(that code removed in 18 angular)
I would be willing to submit a PR to fix this issue