dej611 / spid-react-button

Pulsante SSO per SPID in React
https://dej611.github.io/spid-react-button/
European Union Public License 1.2
19 stars 15 forks source link

[doc] Codesandbox example still does not work #20

Closed dej611 closed 3 years ago

dej611 commented 3 years ago

There are multiple issues for it to fail:

dej611 commented 3 years ago

Perhaps the link can be hidden for now and restored once resolved the issue

dej611 commented 3 years ago

More from the browser console:

Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-arubaid~biXjMUPd.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-infocertid~bmqXPBOx.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-posteid~PIAVTNQX.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-sielteid~gPbEKUHE.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-timid~FIiWQnSz.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-namirialid~PDxLtsax.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-spiditalia~GdXfNloS.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-intesaid~xcxRNxJf.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-idp-lepidaid~YGVaJzCf.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-ico-circle-lb~LegQefra.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-ico-circle-bb~bpKzRdOW.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-logo-animation-black~ZYbHBrkh.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/spid-logo~zJjEzXFQ.svg' esmodule to commonjs: this[r.type] is not a function index.js:27:25
Error when converting '/node_modules/@dej611/spid-react-button/dist/close~hKFpNpUn.svg' esmodule to commonjs: this[r.type] is not a function

With Stackblitz the package works fine. 🤔 Perhaps it's worth replace codesandbox with Stackblitz for now?