fable-lit-fullstack-template
fable-lit-fullstack-template copied to clipboard
Template requires elveated privileges on Ubuntu
Thanks for this interesting template Jordan!
When running npm start for the first time, I saw these logs:
... Started Fable compilation... Fable compilation finished in 3767ms
.> node_modules/.bin/vite Watching .. Sudo password:
This seems to be because of the use of https://github.com/liuweiGL/vite-plugin-mkcert (see https://github.com/vitejs/vite/issues/11772).
Is there a way that I can avoid using that plugin? I don't want to give root privileges out to try out this template. Thanks 🙂
Sure, just remove the plugin in this file (line 36): https://github.com/JordanMarr/fable-lit-fullstack-template/blob/main/Template/WebLit/vite.config.js