Good article. The Node.js vs browser examples made the issue way clearer. I still see people mixing CommonJS and ES modules all the time lol.
Cannot use import statement outside a module javascript
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
chevron_left
1Posts
37Comments
19Connections
Developer by profession, problem-solver by habit.
I like working on backend systems, automation, and... Show moreDeveloper by profession, problem-solver by habit.
I like working on backend systems, automation, and anything that makes workflows less painful.
Currently exploring better ways to design scalable systems and keep things simple when they clearly don’t want to be simple. Show less
I like working on backend systems, automation, and... Show moreDeveloper by profession, problem-solver by habit.
I like working on backend systems, automation, and anything that makes workflows less painful.
Currently exploring better ways to design scalable systems and keep things simple when they clearly don’t want to be simple. Show less
Related Jobs
- Warehouse AssociateDynamics ATS · Full time · Croatia
- Warehouse AssociateTesla · Full time · Rensselaer, IN
- Principal Software Engineer (BE focused/full-stack)- Words With FriendsZynga · Full time · Canada
Commenters (This Week)
eTobe
2 comments
ScriptMasterLabs
1 comment
JAgostoni
1 comment
Contribute meaningful comments to climb the leaderboard and earn badges!