Closed rnkn closed 7 years ago
Hey Piotr,
I just installed afterwriting@1.3.7 from npm and ran into an old error:
afterwriting@1.3.7
env: node\r: No such file or directory
and opening awc.js shows DOS encoding with CRLF line endings. Replacing with LF and saving solves the issue.
awc.js
I found what I think is the definitive fix for this: https://github.com/npm/npm/issues/13203
In short, it is to configure git on Windows with core.autocrlf = false.
core.autocrlf = false
Thanks, I'll update my config and re-publish the package.
Try installing version 1.7.0. Should be working now!
Looking good, thanks 👌
Hey Piotr,
I just installed
afterwriting@1.3.7
from npm and ran into an old error:and opening
awc.js
shows DOS encoding with CRLF line endings. Replacing with LF and saving solves the issue.I found what I think is the definitive fix for this: https://github.com/npm/npm/issues/13203
In short, it is to configure git on Windows with
core.autocrlf = false
.