ifrost / afterwriting-labs

Post-processing for Fountain screenplays
http://www.afterwriting.com
228 stars 38 forks source link

npm package has CRLF (DOS) line endings #69

Closed rnkn closed 7 years ago

rnkn commented 7 years ago

Hey Piotr,

I just installed afterwriting@1.3.7 from npm and ran into an old error:

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.

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.

ifrost commented 7 years ago

Thanks, I'll update my config and re-publish the package.

ifrost commented 7 years ago

Try installing version 1.7.0. Should be working now!

rnkn commented 7 years ago

Looking good, thanks 👌