How to fix “Cannot use import statement outside a module”

How to fix “Cannot use import statement outside a module”

More to explore