Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost Installation Error. Missing Handlebars/bin directory? #4981

Closed
seanahrens opened this issue Mar 2, 2015 · 2 comments
Closed

Ghost Installation Error. Missing Handlebars/bin directory? #4981

seanahrens opened this issue Mar 2, 2015 · 2 comments

Comments

@seanahrens
Copy link

Following the installation guide at http://support.ghost.org/installing-ghost-mac/, I ran into the following problems on the step of installing ghost:

Seans-MacBook-Pro:ghost-0.5.9 Sean$ npm install --production
npm WARN package.json [email protected] No README data
npm ERR! Error: ENOENT, chmod '/Users/Sean/ghost-0.5.9/node_modules/handlebars/bin/handlebars'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 14.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--production"
npm ERR! cwd /Users/Sean/ghost-0.5.9
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path /Users/Sean/ghost-0.5.9/node_modules/handlebars/bin/handlebars
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/Sean/ghost-0.5.9/npm-debug.log
npm ERR! not ok code 0
...
Seans-MacBook-Pro:node_modules Sean$ cd handlebars
Seans-MacBook-Pro:handlebars Sean$ ls
LICENSE     coverage    package.json    runtime.js

It appears there is a missing bin directory in the handlerbars npm_module directory. But as I'm green to Node, my searches online for a resolution to this came up empty.

@letsjustfixit
Copy link
Contributor

I might be wrong -again- but it smells like an npm issue to me. Based on
http://stackoverflow.com/questions/15482658/mac-npm-erroring-with-enoent
npm cache clean
or if installed under su
sudo npm cache clean

@novaugust
Copy link
Contributor

@letsjustfixit Does that mean you've resolved this on your own then? I'm going to close it under that assumption, just let me know if I'm mistaken 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants