bukalapak/snowboard

Error: the use of carriage return(s) '\r' in source data isn't currently supported

Closed this issue · 4 comments

Error: the use of carriage return(s) '\r' in source data isn't currently supported, please contact makers (error: line 1, column 11;line 1, column 11)
This error for me appeared after fix for error #89
My line 1 is FORMAT: 1A. Also error appeared, only when i reverted changes using VS Code. Only way to fix it now for me is to remake .apib file from scratch, as i mentioned it in issue #89

Using Beyond Compare i am seeing that binaries between previous .apib file are different, while file contents are the same. Both are UTF-8; Working one is made on UNIX, not working is made on PC. Also working one is lighter.
PS: I am Windows 10 user. But i am using ubuntu on it.

Thanks for reporting, this is beyond snowboard, since it's drafter's (snowboard underlying parser) issue, as you can see on apiaryio/drafter#628.

Please ensure you replace all tabs using spaces, and carriage return using line feed.

Why is this issue closed, if issue in drafter is still not resolved?

Hi @andzejsw, as I said earlier, this issue is beyond snowboard scope. The fix for this issue must be implemented on the drafter side.