Cannot use object of type. Syntaxerror: cannot use import statement outside a module. cannot use import statement outside a module js.