Ask coding questions

← Back to all posts
can I ES6 import in a node js replit?
Dumb1

I declared type: "module" in package.json but I still got
"Uncaught SyntaxError: Cannot use import statement outside a module"
am I missing something?

Voters
Dumb1