petalframework / petal_boilerplate

Phoenix + Tailwind + Petal Components Boilerplate
https://petal.build
145 stars 19 forks source link

"sed: RE error: illegal byte sequence" when running /rename_phoenix_project.sh #4

Closed kimko closed 2 years ago

kimko commented 2 years ago

Thx for this project!!

FYI: I received

sed: RE error: illegal byte sequence

when running ./rename_phoenix_project.sh (macos 11.6.2, arm)

This fixed the issue for me:

export LC_CTYPE=C 
export LANG=C

https://stackoverflow.com/a/19770395/1977858

❗ I wouldn't recommend putting this into your profile file. Set this only for the command.

mplatts commented 2 years ago

Thanks. My bash skills are pretty subpar - would adding

export LC_CTYPE=C 
export LANG=C

to the top of the script fix it for other people? Or they have to run it in their terminal themselves?

nhobes commented 2 years ago

Thanks, fixed in my latest changes.