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
When trying to install this globally, I encountered the following error:
$ lv_img_conv
/home/luda/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/src/transpilers/swc.ts:45
throw new Error(
^
Error: swc compiler requires either @swc/core or @swc/wasm to be installed as a dependency. See https://typestrong.org/ts-node/docs/transpilers
...
After researching the issue, I could solve it by installing the devDependencies for ts-node.
$ cd lv_img_conv/
$ sudo npm install ts-node --save-dev
$ lv_img_conv
Options:
--help Show help [boolean]
--version Show version number [boolean]
--output-file, -o output file path (for single-image conversion) [string]
...
Consider this closed. I'm leaving this here in case it helps others as well
The text was updated successfully, but these errors were encountered:
When trying to install this globally, I encountered the following error:
After researching the issue, I could solve it by installing the devDependencies for ts-node.
Consider this closed. I'm leaving this here in case it helps others as well
The text was updated successfully, but these errors were encountered: