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 }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
$ node
> require('@std/esm')
@std/esm enabled
> import foo from './foo.mjs';
SyntaxError: Module 'foo.mjs' does not provide an export named 'default'> import {foo} from './foo.mjs';
SyntaxError: Module 'foo.mjs' does not provide an export named 'default'
You have to exit and re-enter the REPL to load the named export if you mess it up the first time.
The text was updated successfully, but these errors were encountered:
Given
foo.mjs
:You have to exit and re-enter the REPL to load the named export if you mess it up the first time.
The text was updated successfully, but these errors were encountered: