sysgears/spinjs

How to contribute and build

Closed this issue · 3 comments

I'm getting errors when I clone and try to yarn build

$ tsc --version
message TS6029: Version 1.5.3
$ yarn build
yarn run v1.9.4
$ tsc
error TS5023: Unknown compiler option 'lib'.
error TS5023: Unknown compiler option 'moduleResolution'.
error TS5023: Unknown compiler option 'allowSyntheticDefaultImports'.
error TS5023: Unknown compiler option 'pretty'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Also thinking about docs for this repo for contributing.

@verdverm I'm not sure why you are getting these, but you are mixing global tsc and locally installed tsc in your issue report. Locally installed tsc is used by yarn build, if you want to check its version run it inside some custom package.json script.

@verdverm After cloning, did you install dependencies by executing
yarn
?

no....