[Bug] scripts /fix-dependencies.sh error
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- git clone the latest version
- use npm 16 to install, following the instructions : https://github.com/keplergl/kepler.gl/blob/master/contributing/DEVELOPERS.md
- error occur after running
yarn bootstrap:
[5/5] Building fresh packages...
$ yarn fix-dependencies && yarn workspaces run stab && yarn workspaces run prepublish && uber-licence && yarn build:umd && yarn build:types
$ ./scripts/fix-dependencies.sh
/bin/sh: 1: ./scripts/fix-dependencies.sh: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Desktop (please complete the following information):
- OS: Linux
Windows chose the CR/LF model, while Linux uses the \n model.
The file fix-dependencies.sh use the CR/LF model, dose not work in Linux.
Fixed by sed -i -e 's/\r$//' fix-dependencies.sh
@usoop So is this an issue? fix-dependencies.sh is executed under Ubuntu during tests without the issue that you encountered.
Is it because I am using WSL? I tested again using Ubuntu in WSL, the error occurred again.
output 1
output 2
output 3
Below is the output when I run fix-dependencies.sh separately.