Error while starting postgrest nix-shell in windows WSL, endlines #2499
-
Hi, I was just setting up the dev tools following the postgrest dev guide, but i'm getting some errors that seem related to file endlines. This appears when I'm just trying to execute nix-shell:
I'm using vscode and installed nix under windows WSL (ubuntu 22.04). Any ideas how to fix this?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
My bet would be that you checked the postgrest repo out on windows, which caused files to have CRLF line endings. Make sure you check out the repo with LF line endings only. See for example https://stackoverflow.com/a/33424884 how to do this. |
Beta Was this translation helpful? Give feedback.
My bet would be that you checked the postgrest repo out on windows, which caused files to have CRLF line endings. Make sure you check out the repo with LF line endings only.
See for example https://stackoverflow.com/a/33424884 how to do this.