Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

‘lumo’: No such file or directory #4

Closed
nvjacobo opened this issue May 10, 2018 · 4 comments
Closed

‘lumo’: No such file or directory #4

nvjacobo opened this issue May 10, 2018 · 4 comments

Comments

@nvjacobo
Copy link

nvjacobo commented May 10, 2018

$ ./mastodon-bot.cljs
/usr/bin/env: ‘lumo’: No such file or directory

$ node -v
v9.11.1
$npm -v
5.6.0

@yogthos
Copy link
Owner

yogthos commented May 10, 2018

The script looks for Lumo on the path, you'd have to install is globally to run the script standalone:

npm install -g lumo-cljs

If you get a permission failure, try this:

npm install -g lumo-cljs --unsafe-perm

@nvjacobo
Copy link
Author

Thanks

$ npm install -g lumo-cljs --unsafe-perm
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! { Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! stack: 'Error: EACCES: permission denied, access '/usr/lib/node_modules'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/mastodon/.npm/_logs/2018-05-10T22_45_21_800Z-debug.log

@yogthos
Copy link
Owner

yogthos commented May 10, 2018

looks like you might have to install with sudo as npm doesn't appear to have permission to write to your /user/lib/node_modules folder.

@nvjacobo
Copy link
Author

Thanks,

Fixed :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants