Closed lofidevops closed 7 years ago
Why don't you use npm?
I'm not using yarn. So I'm not sure that this is a problem of this package or your usage of yarn.
This was resolved by:
nodejs-legacy
package (creates a symlink from node
to nodejs
)sudo yarn global add mstdn --prefix /usr/local
open-mstdn-app
I see. Thank you for your investigation. It's actually a problem with old nodejs
package in some Linux distributions, I think.
Steps to reproduce:
yarn global add mstdn --prefix /usr/local
(failed)sudo yarn global add mstdn --prefix /usr/local
(worked)open-mstdn-app
What should happen:
What happens instead:
open-mstdn-app: command not found
Notes:
open-mstdn-app
in~/.config/yarn/global/node_modules/.bin
but if I invoke./open-mstdn-app
from there I get:/usr/bin/env: ‘node’: No such file or directory