Skip to content

env: node\r: No such file or directory #1

Description

@bwesen

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions