Saturday, 1 April 2017

Stuck in multiline edit mode when importing module in Node.js REPL

I'm on node v7.5.0. I run node and then:

> import moment from 'moment';
... moment();
...

I get stuck in multiline mode as you can see. How do I use import in Node REPL?



via Liron Yahdav

No comments:

Post a Comment