hoodiehq-archive / hood.ie-website-old

⛔ deprecated
http://hood.ie
74 stars 14 forks source link

Getting Started with Ubuntu #74

Open abbgrade opened 10 years ago

abbgrade commented 10 years ago

I run a Ubuntu 14.04.1 LTS and tried the 'Getting Started' tutorial.

hoodie new xyz failed because a permission error for home/user/tmp appeared. Previously nodejs wasn't installed.

I fixed it using:

sudo npm -g config set tmp /tmp

Now hoodie start fails with [hoodie] ENOENT, no such file or directory './data/hoodie.pid'. I fixed that by creating the directory ./data before the first run of hoodie start.

davidpfahler commented 10 years ago

@abbgrade Hi, thanks for taking the time to submit an issue. I'm trying to install hoodie under ubuntu now and will let you know what I find. Stay tuned.

davidpfahler commented 10 years ago

I decided to document my experience of the entire installation process as a linux noob.

I first downloaded ubuntu image from ubuntu.com and installed in VirtualBox. I installed guest additions. I then installed node.js according to digitalocean (nvm install):

sudo apt-get update
sudo apt-get install build-essential libssl-dev
sudo apt-get install curl
curl https://raw.githubusercontent.com/creationix/nvm/v0.7.0/install.sh | sh
source ~/.profile
nvm ls-remote
nvm install 0.11.13
nvm use 0.11.13
npm install -g hoodie-cli
hoodie new appname

This is complicated enough (thanks ubuntu) but now it fails :(

.d$b.  .d$b.  .d$$$$$$b.    .d$$$$$$b.  .d$$$$$$b.  .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P'  'Q$P'  'Q$$$$$$P'    'Q$$$$$$P'  'Q$$$$$$$P  'Q$P''Q$$$$$$$$P'

Version: 0.5.1 (node v0.11.13, npm 1.4.9, platform: linux)

/bin/sh: 1: null: not found
Could not fetch project from https://github.com/hoodiehq/my-first-hoodie.git

Something's wrong here...

Try running the following commands to resolve possible issues:

  hoodie cache clean

  npm cache clean

If none of the above works, run "hoodie new appname --verbose"
and come talk to us on freenode #hoodie 

I'm stuck here, so thanks to @abbgrade for bringing ubuntu install up. I think this is a bug worth looking at (although nothing to do with the hood.ie website).