我是Rails的人,但我正在尝试学习一些Angular JS。我想通过this tutorial,但我甚至无法让节点服务器开始运行。
下面是npm-debug.log文件
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
2 info using npm@2.7.4
3 info using node@v0.12.2
4 verbose config Skipping project config: /Users/piratetone/.npmrc. (matches userconfig)
5 verbose stack Error: ENOENT, open '/Users/piratetone/package.json'
5 verbose stack at Error (native)
6 verbose cwd /Users/piratetone/js_projects
7 error Darwin 14.1.0
8 error argv "node" "/usr/local/bin/npm" "start"
9 error node v0.12.2
10 error npm v2.7.4
11 error path /Users/piratetone/package.json
12 error code ENOENT
13 error errno -2
14 error enoent ENOENT, open '/Users/piratetone/package.json'
14 error enoent This is most likely not a problem with npm itself
14 error enoent and is related to npm not being able to find a file.
15 verbose exit [ -2, true ]