Open kanerogers opened 4 years ago
Hi there!
I installed cognito-backup-restore@1.3.1 using yarn global add
yarn global add
success Installed "cognito-backup-restore@1.3.1" with binaries: - cbr - cognito-backup-restore ✨ Done in 14.36s.
However, when running the executable cbr, I was greeted with this error:
cbr
kanerogers@Kanes-MacBook-Pro ~/.c/y/g/n/c/n/.bin> cbr env: node\r: No such file or directory
To fix this, I simply ran dos2unix on the executable:
dos2unix
kanerogers@Kanes-MacBook-Pro ~/.c/y/g/n/.bin> dos2unix ../cognito-backup-restore/build/cli/cli.js dos2unix: converting file ../cognito-backup-restore/build/cli/cli.js to Unix format...
And now it runs fine!
kanerogers@Kanes-MacBook-Pro ~/.c/y/g/n/.bin> cbr ? Choose the mode (Use arrow keys) ❯ Backup Restore
Hi there!
I installed cognito-backup-restore@1.3.1 using
yarn global add
However, when running the executable
cbr
, I was greeted with this error:To fix this, I simply ran
dos2unix
on the executable:And now it runs fine!