aiman-al-masoud/psittacus

Cannot build on wsl.

RickyYCheng opened this issue · 1 comments

  1. git clone
  2. cd psittacus
  3. yarn install
  4. 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:

  1. allow linux to run the code.
  2. Let users to cd psittacus before yarn install in readme.md.

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.