I just installed it in my RN project (as a dev dependency) and tried it and it failed.
$ node -v
v18.20.6
$ yarn add --dev rn-app-icons
$ npx rn-app-icons --input ~/docs/appicon-square-notransp-1024x1024.png --platforms android
env: node\r: No such file or directory
This is because the file is in DOS / Windows encoding and this won't work on either Linux or MacOS. Suggest converting it. (the CR LF line endings doesn't work with the #!/usr/bin/env node start of the script, it should only be LF)
I just installed it in my RN project (as a dev dependency) and tried it and it failed.
This is because the file is in DOS / Windows encoding and this won't work on either Linux or MacOS. Suggest converting it. (the CR LF line endings doesn't work with the #!/usr/bin/env node start of the script, it should only be LF)