$ eoc -l js dataize app
/opt/homebrew/lib/node_modules/eolang/src/eoc.js:279
.then((r) => commands[lang].transpile(program.opts()))
^
TypeError: Cannot read properties of undefined (reading 'transpile')
at /opt/homebrew/lib/node_modules/eolang/src/eoc.js:279:37
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v21.7.1
It seems that I'm passing a wrong value to the -l flag. First, I don't know what to pass, since the eoc --help doesn't explain it. Second, when a wrong value is passed, we should print a proper error message.
I'm doing this:
It seems that I'm passing a wrong value to the
-l
flag. First, I don't know what to pass, since theeoc --help
doesn't explain it. Second, when a wrong value is passed, we should print a proper error message.