Closed tarunthota3 closed 7 years ago
I get something similar.
When using 2.9.2 with babelify/browserify
[16:45:23] Browserify Error
~/node_modules/react-toastr/lib/index.js:1
import { default as ToastContainer } from "./ToastContainer";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
Thank you for the quick fix to this. I was having a similar issue when running tests, but it's all good now!
Thanks for resolving the issue.. :)
I have been receiving a new error after the latest release 2.9.2, before it was working fine. The error which i got is - "import is not defined"