Dan6erbond / sk-auth

Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!
MIT License
578 stars 70 forks source link

Issues with peer dependencies found #76

Open vhscom opened 2 years ago

vhscom commented 2 years ago

Dependents using this library face warnings which are erroneous in the context of a development workflow. Here's an example of the warnings generated (outlined with box):

Screen Shot 2022-03-08 at 10 45 18 AM

I believe this can be addressed by adding peerDependenciesMeta and setting "optional": true. Tried peerDependenciesMeta with some success but it's not a complete solution. See note here for investigation.

ar4hc commented 2 years ago

adding build-esm breaks my svlete-kit, getting strange errors of imports not found, at least in dev... Without it runs fine.

mavdotjs commented 2 years ago

I get errors like this with npm when installing nightwind with sveltekit

vhscom commented 2 years ago

Oops. Closed in error. Updated OP to add a note on how to squelch the warnings.