Closed wizevlad closed 2 years ago
Doesn't work on node 12 either, getting same error here when using typescript. Both options wont work:
import ora from 'ora';
let ora = require('ora');
import process from 'node:process';
^^^^^^
SyntaxError: Cannot use import statement outside a module
I'm getting this error
EDIT:
This error happens on node 10. On node 12 it works