"SyntaxError: Cannot use import statement outside a module" means the file containing import is being loaded as a CommonJS script (in Node.js or Jest) or as a classic <script> (in the browser), and im
Markdown supported · ⌘↵ to post
No responses yet.