Skip to content

Commit

Permalink
ci: downgrade yarn to v1.0.2
Browse files Browse the repository at this point in the history
With [email protected] `aio/` and some guide examples fail to build. The failures seem
to be caused by something (possibly `@ngtools/webpack`, which is a dependency of
`@angular/cli`) which peer-depends on TypeScript (TS@^2.0.2), getting linked to
a higher version ([email protected]) with [email protected], which is stricter than the 2.3.2
version we use on `aio/` (and which that something gets linked to with
[email protected]).

[This change][1] is what is causing this difference in behavior.

Downgrading yarn to v1.0.2 (same we use on master) for now.

[1]: yarnpkg/yarn#4478
  • Loading branch information
gkalpak committed Oct 5, 2017
1 parent 6001d45 commit 08f25d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
#######################

setEnvVar NODE_VERSION 6.9.5
setEnvVar YARN_VERSION 1.1.0
setEnvVar YARN_VERSION 1.0.2
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
setEnvVar PROJECT_ROOT $(cd ${thisDir}/../..; pwd)

Expand Down

0 comments on commit 08f25d0

Please sign in to comment.