Closed sprocket888 closed 9 years ago
Sorry for the late reply. Seems like the one I am currently referencing is outdated? I confirmed same issue on a new git clone in my environment.
I will fix it this weekend.
In the mean time, if you just want to use the crowdutil (not setup development environment for crowdutil), you can do
> npm install -g crowdutil
to pull from the npm repository instead of from the git.
-g flag will install it globally on your machine, so you can invoke crowdutil
from anywhere in your machine.
the issue with uglifyjs should be now fixed. but since uglifyjs is only a development dependency, it is not required for general use.
crowdutil is available through the npm repository so there is no need to clone the git repository to use the tool. npm install -g crowdutil
should work just fine.
after that, you should run crowdutil create-config -v
to generate the template config file in $HOME/.crowdutil/config.json and edit that file to point to your crowd instance. set up your crowd application and password and allow your client machine IP to access that application. then you should be all set to go.
if you have further questions, just post another message here.
p.s. and no, I didn't realize it was you at first Jeremy :P
Yes I the uglify is fixed, THX!
I actually started with the npm install, but I was getting a message : No such file or directory
after executing the binary, so I went to the git clone since I thought perhaps I was missing a dependency.
So, no I am back at my first problem and that is I have crowdutil installed, but when I issue the crowdutil create-config -v
it returns the : No such file or directory
Actually I had previously manually created the config file (in ~/.crowdutil/config.json
) since --help was returning the same message and I thought maybe it was the config file that was missing. But that did not help either.
So maybe there is some dependency I am missing? Sorry these seem like very basic things.
are you getting env: node\r: No such file or directory
?
if so, I think I may have screwed up in the npm publish (I may have uploaded the files with DOS newline characters CRLF)
I've re-published the crowdutil to npm repository which should fix that problem.
try doing npm update -g crowdutil
I am in business now, all is working correctly......now to actually try some stuff ;-)
Thanks!
Good to hear things are finally working :)
If you find any other issues, just drop me a line or post a new issue here at Github.
I am trying to get this crowdutil installed but I seem to be a node js noob.
I did a git clone into a directory on my Linux box and then from that directory I issued the "npm install" command. it seems to scroll through dependencies but uglifyjs seems to cause an issue, it seems the URL reports a 0.0.0 version:
Perhaps I am just using npm incorrectly?