fable-lit-fullstack-template icon indicating copy to clipboard operation
fable-lit-fullstack-template copied to clipboard

Template requires elveated privileges on Ubuntu

Open mattgallagher92 opened this issue 2 years ago • 1 comments

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 🙂

mattgallagher92 avatar Jan 21 '23 18:01 mattgallagher92

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

JordanMarr avatar Jan 22 '23 03:01 JordanMarr