Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL should support compat mode #12628

Closed
ry opened this issue Nov 2, 2021 · 1 comment · Fixed by #12882
Closed

REPL should support compat mode #12628

ry opened this issue Nov 2, 2021 · 1 comment · Fixed by #12882
Assignees
Labels
cli related to cli/ dir feat new feature (which has been agreed to/accepted) node compat

Comments

@ry
Copy link
Member

ry commented Nov 2, 2021

# deno -V
deno 1.15.3
# deno repl --compat --unstable
Download https://deno.land/[email protected]/node/global.ts
Download https://deno.land/[email protected]/node/process.ts
Download https://deno.land/[email protected]/node/timers.ts
Download https://deno.land/[email protected]/node/_options.ts
Download https://deno.land/[email protected]/node/_validators.ts
Download https://deno.land/[email protected]/node/internal_binding/node_options.ts
Check https://deno.land/[email protected]/node/global.ts
Check https://deno.land/[email protected]/node/global.ts
Deno 1.15.3
exit using ctrl+d or close()
> require('fs')
Uncaught ReferenceError: require is not defined
    at <anonymous>:2:1
@ry ry mentioned this issue Nov 2, 2021
18 tasks
@lucacasonato lucacasonato added cli related to cli/ dir feat new feature (which has been agreed to/accepted) node compat labels Nov 3, 2021
@bartlomieju
Copy link
Member

I'm looking into it, but first we need to address #12684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli related to cli/ dir feat new feature (which has been agreed to/accepted) node compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants