allcount / allcountjs

Rapid application development framework for Node.js
http://allcountjs.com
MIT License
402 stars 83 forks source link

run allcountjs init doesn't work #112

Open timotanhong opened 8 years ago

timotanhong commented 8 years ago

root@d4fbd7018d1a:/test# allcountjs init Usage: allcountjs --app <Path to application's dir or Git URL> --db -port [Application HTTP port]

matteocng commented 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
paveltiunov commented 8 years ago

@timotanhong could you please try to install allcountjs-cli not from root user?

timotanhong commented 8 years ago

@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.

timotanhong commented 8 years ago

May be the later one need to rename the soft link ?

paveltiunov commented 8 years ago

@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.