Closed joelmoss closed 2 years ago
react-hot-toast has a dependency on goober, and when importing react-hot-toast:
import toast from 'react-hot-toast'
I get an error: Uncaught SyntaxError: The requested module '/npm:goober@2!cjs' does not provide an export named 'default'
Uncaught SyntaxError: The requested module '/npm:goober@2!cjs' does not provide an export named 'default'
Goober has no default export, and from what I can see, react-hot-toast does not try to import a default export from goober.
Any ideas? thx.
Thanks for posting, I've posted a PR to the original repo at https://github.com/cristianbote/goober/pull/262.
The original package issue was since merged and the package is working now.
react-hot-toast has a dependency on goober, and when importing react-hot-toast:
I get an error:
Uncaught SyntaxError: The requested module '/npm:goober@2!cjs' does not provide an export named 'default'
Goober has no default export, and from what I can see, react-hot-toast does not try to import a default export from goober.
Any ideas? thx.