Closed monacodelisa closed 2 months ago
The issue is the Angular CLI is pinned to 5.2.11 and using ^5.0.0 installs the latest version of Vite which is 5.3.0. This causes two copies of Vite to be installed.
The fix has already landed on beta but you can update your package.json for Vite to ~5.2.11
thank you so much @brandonroberts I will make the suggested adjustments 🙏
Landed a proper fix for this in https://github.com/analogjs/analog/pull/1214. It will go out with 1.6.2
Please provide the environment you discovered this bug in.
Analog version
v1.5.0
Tested on:
3 windows machines 1 stackblitz
https://stackblitz.com/github/analogjs/analog/tree/stackblitz/packages/create-analog/template-latest?file=vite.config.ts&preset=node
Which area/package is the issue in?
create-analog
Description
after running
npm create analog@latest
npm i
and when runningnpm start
the analog app starts however this error message appears :Please provide the exception or error you saw
Other information
so far I know that this affects the styles:
I first encountered the error within the last 48h
As much as I would like to I could not submit a PR since I do not know where that
minimalContext
is, could not find itI would be willing to submit a PR to fix this issue