Cannot build on wsl.
RickyYCheng opened this issue · 1 comments
RickyYCheng commented
- git clone
- cd psittacus
- yarn install
- yarn run build
(dir: .../source/repos/psittacus/psittacus)
Err msg:
yarn run v1.22.19
$ ./scripts/build.sh
: not founduild.sh: 2:
: not founduild.sh: 3: webpack
cat: ''$'\r': No such file or directory
: No such file or directory
rm: cannot remove './dist/main.js'$'\r': No such file or directory
rm: cannot remove './dist/main.js.LICENSE.txt': No such file or directory
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
So it is a linux problem. I run it on WSL.
There are to things to do:
- allow linux to run the code.
- Let users to
cd psittacus
beforeyarn install
in readme.md.
RickyYCheng commented
I am trying to use :set ff:unix
on vim, after that it can be built, but nothing changed on git, so i cannot make a commit.