You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's likely that this problem doesn't have a good solution, other than to end the process and ask the user to start it again.
Node.js doesn't provide a way to clear the cache for ESM modules (as it did for commonjs), so after installing a package we might need to throw an error mentioning "this package was installed, please restart the server".
After initial scaffolding (without non-Vue frameworks), activating one of those non-Vue frameworks is a one-off activity for the user, I feel the auto-install feature, if it requires maintenance against these sort of issues, might not be worth it.
If the error can't be avoided, then instead of adding an additional message to restart the server, IMHO, it might be better to add documentation to add the relevant vite plugin.
A nice alternative is to consider the astro way, for eg, npx iles add solid. This way could abstract the scripty vite plugin names (and any additional dependencies/config) behind the non-Vue frameworks, maintaining iles joyful experience ;-)
iles
andvite
.Description 📖
After scaffolding a basic iles app without non-vue frameworks, and later when adding them via iles config, auto-install throws some errors.
Reproduction 🐞
npm create iles@next
(don't choose any non-vue frameworks in the prompts)npm install
iles.config.ts
. Set one of the non-vue frameworks to true, for eg,solid: true
The below error is thrown.
Run
npx iles info
andpnpm list
(ornpm list
) and provide the output:Logs 📜
If not providing a reproduction:
Output
Run
DEBUG=iles:* npm run dev
orDEBUG=iles:* npm run build
and provide the output:The text was updated successfully, but these errors were encountered: