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

Failure to generate an empty blog #98

Closed
igouss opened this issue Oct 20, 2013 · 1 comment
Closed

Failure to generate an empty blog #98

igouss opened this issue Oct 20, 2013 · 1 comment

Comments

@igouss
Copy link

igouss commented Oct 20, 2013

Provide a better error message.

li656-170% /home/i.gouss/.npm/blacksmith/1.1.3/package/bin/blacksmith /home/i.gouss/web/blog
Rendering: /home/i.gouss/web/blog

/home/i.gouss/node_modules/flatiron/node_modules/broadway/node_modules/utile/node_modules/async/lib/async.js:81
if (!arr.length) {
^
TypeError: Cannot read property 'length' of undefined
at Object.async.forEach (/home/i.gouss/node_modules/flatiron/node_modules/broadway/node_modules/utile/node_modules/async/lib/async.js:81:17)
at /home/i.gouss/.npm/blacksmith/1.1.3/package/lib/blacksmith/common.js:69:11
at Object.oncomplete (fs.js:107:15)

li656-170% node -v
v0.10.20

li656-170% cat /etc/debian_version
7.2

@tomtempest
Copy link

It worked for me this way:

git clone https://github.com/flatiron/blacksmith.git
cd blacksmith
npm install
cd test/fixtures/blog
../../../bin/blacksmith .
../../../node_modules/http-server/bin/http-server -e html

npm test fails.

The docs are very limited.

@igouss igouss closed this as completed Apr 8, 2019
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

2 participants