Repository navigation
test(aio): fix running docs examples against local builds - #18520
Conversation
|
BTW, once this is fixed, one can run the docs examples with the local builds with: |
|
You can preview 22c699b at https://pr18520-22c699b.ngbuilds.io/. |
|
You can preview 77458ed at https://pr18520-77458ed.ngbuilds.io/. |
There was a problem hiding this comment.
Did someone move the tsc-wrapped folder?
There was a problem hiding this comment.
Why this change?
Does it not work on Windows?
The idea of symlinking meant that you didn't need to keep running add-boilerplate all the time, while working on the source.
There was a problem hiding this comment.
I can't try on Windows, but it didn't work on Ubuntu either. I was getting errors from files in dist/packages-dist/... that it couldn't find @angular/core for example. Seems like the double symlinking (packages-dist --> shared/node_modules --> /node_modules) threw it off.
There was a problem hiding this comment.
Maybe we could get by, by copying the symlinks (instead of re-symlinking) from shared/node_modules/@angular if in local mode.
There was a problem hiding this comment.
Oh, that wouldn't actually work, because we symlink to the shared/node_modules/ directory as a whole 😞
There was a problem hiding this comment.
So, I confirmed the symlinking fails on Travis too, so it was not a local issue in my Ubuntu VM.
Sticking with copying (and having to re-add the boilerplate if you re-build Angular packages).
77458ed to
da6f003
Compare
|
You can preview da6f003 at https://pr18520-da6f003.ngbuilds.io/. |
da6f003 to
74e5e6f
Compare
|
You can preview 74e5e6f at https://pr18520-74e5e6f.ngbuilds.io/. |
74e5e6f to
48c9cd3
Compare
This commit also updates the version of `@angular/cli` used for docs examples. The previous (transient) dependency `@ngtools/webpack` was not compatible with `@angular/compiler-cli@>=5` and was breaking when running against the local builds (currently at 5.0.0-beta.2). The version of `@ngtools/webpack` used by the latest `@angular/cli` version is compatible with `@angular/compiler-cli@5`.
|
Updated the |
48c9cd3 to
74bc809
Compare
|
You can preview 48c9cd3 at https://pr18520-48c9cd3.ngbuilds.io/. |
|
You can preview 74bc809 at https://pr18520-74bc809.ngbuilds.io/. |
This commit also updates the version of `@angular/cli` used for docs examples. The previous (transient) dependency `@ngtools/webpack` was not compatible with `@angular/compiler-cli@>=5` and was breaking when running against the local builds (currently at 5.0.0-beta.2). The version of `@ngtools/webpack` used by the latest `@angular/cli` version is compatible with `@angular/compiler-cli@5`.
PR angular#18520 was accidentally merged into 4.3.x, which uses a different location for building `tsc-wrapped`. This commit reverts the changes from angular#18520 that were not compatible with 4.3.x.
) This commit also updates the version of `@angular/cli` used for docs examples. The previous (transient) dependency `@ngtools/webpack` was not compatible with `@angular/compiler-cli@>=5` and was breaking when running against the local builds (currently at 5.0.0-beta.2). The version of `@ngtools/webpack` used by the latest `@angular/cli` version is compatible with `@angular/compiler-cli@5`.
) This commit also updates the version of `@angular/cli` used for docs examples. The previous (transient) dependency `@ngtools/webpack` was not compatible with `@angular/compiler-cli@>=5` and was breaking when running against the local builds (currently at 5.0.0-beta.2). The version of `@ngtools/webpack` used by the latest `@angular/cli` version is compatible with `@angular/compiler-cli@5`.
) This commit also updates the version of `@angular/cli` used for docs examples. The previous (transient) dependency `@ngtools/webpack` was not compatible with `@angular/compiler-cli@>=5` and was breaking when running against the local builds (currently at 5.0.0-beta.2). The version of `@ngtools/webpack` used by the latest `@angular/cli` version is compatible with `@angular/compiler-cli@5`.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This commit also updates the version of
@angular/cliused for docs examples.The previous (transient) dependency
@ngtools/webpackwas not compatible with@angular/compiler-cli@>=5and was breaking when running against the local builds (currently at 5.0.0-beta.2).The version of
@ngtools/webpackused by the latest@angular/cliversion is compatible with@angular/compiler-cli@5.