You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server started on http://localhost:3000/
Rendering example.md
http.js:783
throw new TypeError('first argument must be a string or Buffer');
TypeError: first argument must be a string or Buffer
at ServerResponse.OutgoingMessage.write (http.js:783:11)
at ServerResponse.OutgoingMessage.end (http.js:964:16)
at C:\Users\Admin\AppData\Roaming\npm\node_modules\aglio\lib\bin.js:89:22
at C:\Users\Admin\AppData\Roaming\npm\node_modules\aglio\lib\main.js:68:16
at Object.exports.render (C:\Users\Admin\AppData\Roaming\npm\node_modules\aglio\lib\main.js:64:24)
at Server.<anonymous> (C:\Users\Admin\AppData\Roaming\npm\node_modules\aglio\lib\bin.js:84:22)
at Server.EventEmitter.emit (events.js:98:17)
at HTTPParser.parser.onIncoming (http.js:2056:12)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:120:23)
at Socket.socket.ondata (http.js:1946:22)
After removing all content i found that line that causes crash is
# Group Notes
So if i run aglio on empty file - everything works fine. But if i add line with Group - server crashes.
Also i have this error:
C:\Test>aglio -i example.md -o -
>> {"code":1,"message":"parser exception has occured","location":[],"input":"# Group Notes"}
Maybe something with my enviroment? Windows Server 2008 R2, node 0.10.13
The text was updated successfully, but these errors were encountered:
Looks like this is a duplicate of #3 - I've renamed that issue to make sure it mentions Windows now. Closing this as a duplicate, but feel free to leave comments and/or follow the other issue. It's actually an issue upstream in the API Blueprint parsing library (Protagonist/SnowCrash) and someone at Apiary is looking into fixing it. See #3 for the history and upstream issue link.
Hi. Maybe i'm doing something wrong, but aglio doesn`t work for me on Windows. Steps:
example.md - example file from https://raw.github.com/danielgtaylor/aglio/master/example.md
3. Go to http://localhost:3000
4. Server crashes and what i get in output:
After removing all content i found that line that causes crash is
So if i run aglio on empty file - everything works fine. But if i add line with Group - server crashes.
Also i have this error:
Maybe something with my enviroment? Windows Server 2008 R2, node 0.10.13
The text was updated successfully, but these errors were encountered: