-
Notifications
You must be signed in to change notification settings - Fork 333
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
wintersmith build - crash on ubuntu 16.04 #321
Comments
Can you post the output of |
sergey@sergey-300E5C:~/Projects/mobilon_docs$ wintersmith build -vv
building site
verbose creating environment - work directory: /home/sergey/Projects/mobilon_docs
using config file: /home/sergey/Projects/mobilon_docs/config.json
verbose config: {"locals":{"url":"http://antirek.github.io/mobilon_docs/build","name":"Mobilon Docs","owner":"Someone","description":"Документация для пользователей, а также их родителей"},"require":{"moment":"moment","_":"underscore","typogr":"typogr"},"jade":{"pretty":true},"markdown":{"smartLists":true,"smartypants":true},"baseUrl":"/","contents":"./contents","ignore":[],"plugins":[],"templates":"./templates","views":null,"output":"./build","hostname":null,"port":8080,"_fileLimit":40,"_restartOnConfChange":true,"__filename":"/home/sergey/Projects/mobilon_docs/config.json","_cliopts":{"X":false,"verbose":true,"v":true,"quiet":false,"q":false,"version":false,"V":false,"help":false,"h":false,"c":"./config.json","C":null},"X":false,"verbose":true,"v":true,"quiet":false,"q":false,"version":false,"V":false,"help":false,"h":false,"c":"./config.json","C":null}
verbose loading module 'moment' available in locals as 'moment'
silly loading module: moment
/usr/lib/node_modules/wintersmith/node_modules/async/dist/async.js:837
if (fn === null) throw new Error("Callback was already called.");
^
Error: Callback was already called.
at /usr/lib/node_modules/wintersmith/node_modules/async/dist/async.js:837:32
at /usr/lib/node_modules/wintersmith/lib/core/utils.js:48:18
at nextTask (/usr/lib/node_modules/wintersmith/node_modules/async/dist/async.js:5070:14)
at /usr/lib/node_modules/wintersmith/node_modules/async/dist/async.js:5064:13
at apply (/usr/lib/node_modules/wintersmith/node_modules/async/dist/async.js:21:25)
at /usr/lib/node_modules/wintersmith/node_modules/async/dist/async.js:56:12
at /usr/lib/node_modules/wintersmith/node_modules/async/dist/async.js:840:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:416:3) |
Sorry, before use I must do 'npm install' for plugins. |
Thanks and nothing to apologise for! I actually think this might be a bug so I'm reopening this. The log should show that a module is missing not an obscure error about a callback being called twice when this happens. |
I get this error when I use yarn instead of npm |
Same issue as @adius. I got this error when I used Yarn. Deleted the node_modules dir, ran |
Should have better error reporting now. Tried to reproduce with yarn but worked fine for me. Feel free to open up another issue about it if the problem persists |
@jnordberg I'm still having this issue! With npm everything works fine ... |
@adius create another issue with steps to reproduce and I'll have a look |
Sure. Here you go: #327 |
install now and try build existing project - crash.

ubuntu 16.04, nodejs 7.4.0
The text was updated successfully, but these errors were encountered: