Closed csdougliss closed 10 years ago
@craigcarnell it looks like you've successfully installed ladon. Have you tried running it? For example:
ladon "**/*" -- echo RELPATH
You should see a bunch of output for all the files and directories in the current directory. You can stop it via ctrl+c
.
@danielgtaylor Nothing gets output which is the weird thing
@craigcarnell do you have any files in the directory from which you are running the command? What version of Node.js are you using? Is there anything else that's interesting about your setup? Network shares?
nodejs -v v0.10.28
ccarnell@web:~$ vi test ccarnell@web:~$ ls src test tmp ccarnell@web:~$ ladon "*/" -- echo RELPATH
Nothing particularly it's more or less a fresh cloud server.
Very strange. Here is my test on an Ubuntu VM on Digital Ocean:
$ lsb_release -i -r
Distributor ID: Ubuntu
Release: 14.04
$ node --version
v0.10.28
$ mkdir -p test/dir1/dir2
$ touch test/foo.txt test/dir1/bar.jpg test/dir1/dir2/baz.pdf
$ cd test
$ ladon "**/*" -- echo RELPATH
dir1
dir1/bar.jpg
dir1/dir2
dir1/dir2/baz.pdf
foo.txt
I'm not sure what the problem might be for you. Are you using a shell that isn't bash? Maybe it could be treating the "*/" as something special?
Seems to be an issue with node, I uninstalled and re-installed and now it outputs. Thanks for your help.
I've installed nodejs from the latest repo:
Then ladon:
ladon outputs nothing?