Open timotanhong opened 8 years ago
Hi @timotanhong , the output of the following commands could help troubleshooting:
lsb_release -sd || cat /etc/*release
allcountjs -V
pgrep mongo
cat app-config/main.js
npm list -g | grep allcountjs
node -v
npm -v
@timotanhong could you please try to install allcountjs-cli not from root user?
@matteocng @paveltiunov I figure out why, I install the another library using npm after I install allcountjs-cli. npm install allcountjs
both of these two packages have allcount.js so the later one 's softlink overwrite the previous one.
May be the later one need to rename the soft link ?
@timotanhong Yep. I see where's the problem. AllcountJS core package is not intended to be installed globally. It's where problem occurs. You're right: seems like we need to rename it.
root@d4fbd7018d1a:/test# allcountjs init Usage: allcountjs --app <Path to application's dir or Git URL> --db -port [Application HTTP port]