SyntaxFix
Write A Post
Hire A Developer
Questions
import statements are supported in the stable release of Node since version 14.x LTS.
import
All you need to do is specify "type": "module" in package.json.
"type": "module"
package.json