linemanjs / lineman-angular-template

A Lineman Application Template using AngularJS
251 stars 88 forks source link

from scratch #10

Closed christrees closed 11 years ago

christrees commented 11 years ago

Just tried to build from scratch and ran into: Running "watch" task Waiting... PushState: '/' not found in /Users/cat/Sites/llsapp/generated - Serving up 'generated/index.html' Error: ENOENT, stat 'generated/index.html'

PushState: '/favicon.ico' not found in /Users/cat/Sites/llsapp/generated - Serving up 'generated/index.html' Error: ENOENT, stat 'generated/index.html'

xxxxxxxxxxxxx I'm sure it's something not-so-hard but the first thing I do is check the issues, since there were no issues figured I would put this in. Will update this when I figure out the simple thing I missed.... xxxxxxxxxxxxx

Here is how I got here: catmini:~ cat$ cd Sites/ catmini:Sites cat$ git clone https://github.com/davemo/lineman-angular-template.git llsapp Cloning into 'llsapp'... remote: Counting objects: 578, done. remote: Compressing objects: 100% (331/331), done. remote: Total 578 (delta 241), reused 537 (delta 218) Receiving objects: 100% (578/578), 1.12 MiB | 152 KiB/s, done. Resolving deltas: 100% (241/241), done. catmini:Sites cat$ cd llsapp/ catmini:llsapp cat$ sudo npm install -g lineman Password: npm http GET https://registry.npmjs.org/lineman npm http 200 https://registry.npmjs.org/lineman xxxxxxxxx delete lots of npm messages only a few warns xxxxxxxxx npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.17","npm":"1.3.9"}) npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.17","npm":"1.3.9"}) npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.17","npm":"1.3.9"}) npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.17","npm":"1.3.9"}) npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.17","npm":"1.3.9"}) xxxxxxxxx Run xxxxxxxxx catmini:llsapp cat$ lineman run

Tasks directory "/usr/local/lib/node_modules/lineman/tasks/../node_modules/grunt-angular-templates/tasks" not found. Tasks directory "/usr/local/lib/node_modules/lineman/tasks/../node_modules/grunt-concat-sourcemap/tasks" not found. Tasks directory "/usr/local/lib/node_modules/lineman/tasks/../node_modules/grunt-ngmin/tasks" not found.

Running "common" task Warning: Task "ngtemplates" not found. Used --force, continuing.

Running "dev" task

Running "server" task Starting express web server in "./generated" on port 8000 Simulating HTML5 pushState: Serving up 'generated/index.html' for all other unmatched paths

Running "watch" task Waiting... PushState: '/' not found in /Users/cat/Sites/llsapp/generated - Serving up 'generated/index.html' Error: ENOENT, stat 'generated/index.html'

PushState: '/favicon.ico' not found in /Users/cat/Sites/llsapp/generated - Serving up 'generated/index.html' Error: ENOENT, stat 'generated/index.html'

Foxandxss commented 11 years ago

You need to run a npm install to install the grunt tasks. Try that and then lineman run

ricricucit commented 11 years ago

had that problem yesterday @Foxandxss :+1: this is where I've read about it: http://angular-tips.com/blog/2013/08/my-workflow-with-lineman/

Foxandxss commented 11 years ago

Seems like the readme doesn't say that, Im going to create a PR. @ricricucit good article /me whistles.