hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.27k stars 287 forks source link

fix: erroneous import of HttpsProxyAgent #625

Open Jogius opened 9 months ago

Jogius commented 9 months ago

According to the guide, running npx smui-theme template src/theme is a setup step for this package. However, I encountered the error TypeError: HttpsProxyAgent is not a constructor during the setup. Changing how this constructor is imported fixed the problem. I'm not aware of recent changes in the API of this HttpsProxyAgent, but I had to make this change in my local copy of the library. Maybe you can go through some more thorough testing.