Comments (9)
If you've had node installed via homebrew for a while and just upgraded like I did, you may need to append /usr/local/share/npm/bin
to your $PATH. brew info node
tells you about this change.
from rendr-app-template.
/usr/local/share/npm/bin
is in my $PATH (as brew info node
told me to do), but I am still receiving the same error.
> [email protected] start /Users/sblock/projects/rendr-app-template
> DEBUG=app:* node index.js
/Users/sblock/projects/rendr-app-template/index.js:29
if (err) throw err;
^
Error: grunt exited with code:127
at ChildProcess.compileAssets (/Users/sblock/projects/rendr-app-template/index.js:22:13)
at ChildProcess.EventEmitter.emit (events.js:91:17)
at Process._handle.onexit (child_process.js:674:10)
npm ERR! [email protected] start: `DEBUG=app:* node index.js`
npm ERR! `sh "-c" "DEBUG=app:* node index.js"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the rendr-app-template package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! DEBUG=app:* node index.js
npm ERR! You can get their info via:
npm ERR! npm owner ls rendr-app-template
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.4.0
npm ERR! command "/usr/local/Cellar/node/0.8.8/bin/node" "/usr/local/bin/npm" "start"
npm ERR! cwd /Users/sblock/projects/rendr-app-template
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/sblock/projects/rendr-app-template/npm-debug.log
npm ERR! not ok code 0
And my npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/0.8.8/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose read json /Users/sblock/projects/rendr-app-template/package.json
5 verbose run-script [ 'prestart', 'start', 'poststart' ]
6 info prestart [email protected]
7 info start [email protected]
8 verbose unsafe-perm in lifecycle true
9 silly exec sh "-c" "DEBUG=app:* node index.js"
10 silly sh,-c,DEBUG=app:* node index.js,/Users/sblock/projects/rendr-app-template spawning
11 info [email protected] Failed to exec start script
12 error [email protected] start: `DEBUG=app:* node index.js`
12 error `sh "-c" "DEBUG=app:* node index.js"` failed with 1
13 error Failed at the [email protected] start script.
13 error This is most likely a problem with the rendr-app-template package,
13 error not with npm itself.
13 error Tell the author that this fails on your system:
13 error DEBUG=app:* node index.js
13 error You can get their info via:
13 error npm owner ls rendr-app-template
13 error There is likely additional logging output above.
14 error System Darwin 11.4.0
15 error command "/usr/local/Cellar/node/0.8.8/bin/node" "/usr/local/bin/npm" "start"
16 error cwd /Users/sblock/projects/rendr-app-template
17 error node -v v0.8.8
18 error npm -v 1.1.59
19 error code ELIFECYCLE
20 verbose exit [ 1, true ]
from rendr-app-template.
I found a solution:
see http://gruntjs.com/getting-started
npm uninstall -g grunt
npm install -g grunt-cli
from rendr-app-template.
@zdwalter awesome, that worked for me. thanks!
from rendr-app-template.
@zdwalter worked for me, thanks so much!
from rendr-app-template.
Thanks @zdwalter! @airbnb folks, does this mean grunt-cli should be a package.json dependency, or is something else going on?
from rendr-app-template.
Hmm, Grunt wants you to install it with -g, which means it should be in package.json. I'll add something to the README.
from rendr-app-template.
I've added 'grunt-cli' to the package.json; is that poor practice, because it should be installed with -g
? 681df30
from rendr-app-template.
Would probably be better to keep it out of dependencies and add a note to the README alerting users that grunt-cli needs to be installed globally.
from rendr-app-template.
Related Issues (20)
- grunt server fails on Windows 7 HOT 6
- Failed to install grunt-contrib-handlebars HOT 2
- ReferenceError: _ is not defined HOT 1
- __layout.hbs HOT 1
- does not run on Windows
- Template precompile HOT 3
- Injecting data coming from an asynchronous call into __layout.hbs HOT 5
- initialize model returns error HOT 3
- Some thoughts on the README HOT 1
- clientSync is used on a request when trying to create the server different from the index.js file HOT 2
- Handlebars precompiled versioning error HOT 1
- Broken links in README HOT 1
- apiProxy should handle status code 204 properly HOT 1
- Server side call
- Error on startup HOT 3
- Error: npm install rendr-app-template HOT 1
- Modularization of the site HOT 5
- npm install errors (ubuntu 12.04) HOT 3
- Need to add "npm install" step to README HOT 1
- Unable to start server in Windows 7 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rendr-app-template.