You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting "Cannot use import statement outside a module" #1872
There's a similiar issue, #922. However it is closed and the suggested solutions don't work for me.
Expected Behavior
No error.
Actual Behavior
I'm getting:
my-outer-package\node_modules\com.matheusdiasdesouzads.js.language-objects\src\index.ts:1
import Language, {Direction} from './language';
^^^^^^
SyntaxError: Cannot use import statement outside a module
Activity