zlanguage/zcomp

zcomp - command line not found with nvm usage.

prasad83 opened this issue · 1 comments

npm install -g @zlanguage/zcomp with nvm failed to setup zcomp command on ubuntu.

I had to define alias to make it work.

alias zcomp="node /path/to/nvm_which_current/lib/node_modules/@zlanguage/zcomp/src/commands/index.js"

To know the path of nvm directory use:

nvm which current

I'm afraid this repo is long past maintaining. I appreciate your interest and I'm happy you found a fix, but the library I used for aliasing/making commands all those years ago... probs very outdated.