hperrin / svelte-material-ui

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

fix: erroneous import of HttpsProxyAgent #625

Open Jogius opened 1 year ago

Jogius commented 1 year 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.