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

npm package broken #99

Open
silverbucket opened this issue Dec 4, 2013 · 6 comments
Open

npm package broken #99

silverbucket opened this issue Dec 4, 2013 · 6 comments

Comments

@silverbucket
Copy link

I installed blacksmith as described:

$ sudo npm install blacksmith -g

However when I run it I get errors:

$ blacksmith
Rendering: /home/nkj/code
Error rendering: /home/nkj/code
{ [Error: ENOENT, open '/home/nkj/code/.blacksmith'] errno: 34, code: 'ENOENT', path: '/home/nkj/code/.blacksmith' }
[ 'Error: ENOENT, open \'/home/nkj/code/.blacksmith\'' ]

/usr/lib/node_modules/blacksmith/node_modules/async/lib/async.js:81
        if (!arr.length) {
                ^
TypeError: Cannot read property 'length' of undefined
    at Object.async.forEach (/usr/lib/node_modules/blacksmith/node_modules/async/lib/async.js:81:17)
    at /usr/lib/node_modules/blacksmith/lib/blacksmith/common.js:69:11
    at Object.oncomplete (fs.js:107:15)
@fiatjaf
Copy link

fiatjaf commented Dec 10, 2013

The same here.

@fiatjaf
Copy link

fiatjaf commented Dec 10, 2013

It is not just the npm package. Building from source gives me the same.

But the problem happens only because you don't have a structured blacksmith directory (with content, layouts and the .blacksmith file).

@howarddierking
Copy link

+1

@DanielSundberg
Copy link

I get the same error message, are there no development done in this project?

According to the documentation this project would have suited my documentation needs but I can't get it to run? Any recommendations on what to use instead with a similar feature set?
.

@fiatjaf
Copy link

fiatjaf commented Mar 4, 2016

@DanielSundberg This is abandoned, but perhaps you will find what you want in these forks.

@bretonio
Copy link

Likewise.

Rendering: blacksmithy
Error rendering: blacksmithy
{ [Error: ENOENT, open 'blacksmithy/.blacksmith'] errno: -2, code: 'ENOENT', path: 'blacksmithy/.blacksmith' }
[ 'Error: ENOENT, open \'blacksmithy/.blacksmith\'',
  '    at Error (native)' ]

Will check the forks.

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

5 participants