Skip to content

Commit 7c16762

Browse files
petebacondarwinjosephperrott
authored andcommitted
fix(compiler-cli): ngcc - remove outdated link (angular#40285)
The link to the "speeding-up-ngcc-compilation" URL does not exist, it was removed shortly after it was added, but the link in the ngcc error message was not updated. Fixes angular#39837 PR Close angular#40285
1 parent f846c09 commit 7c16762

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/compiler-cli/ngcc/src/locking/sync_locker.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ export class SyncLocker {
5454
const pid = this.lockFile.read();
5555
throw new Error(
5656
`ngcc is already running at process with id ${pid}.\n` +
57-
`If you are running multiple builds in parallel then you should pre-process your node_modules via the command line ngcc tool before starting the builds;\n` +
58-
`See https://v9.angular.io/guide/ivy#speeding-up-ngcc-compilation.\n` +
57+
`If you are running multiple builds in parallel then you might try pre-processing your node_modules via the command line ngcc tool before starting the builds.\n` +
5958
`(If you are sure no ngcc process is running then you should delete the lock-file at ${
6059
this.lockFile.path}.)`);
6160
}

packages/compiler-cli/ngcc/test/locking/sync_locker_spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ runInEachFileSystem(() => {
5858
expect(() => locker.lock(() => {}))
5959
.toThrowError(
6060
`ngcc is already running at process with id 188.\n` +
61-
`If you are running multiple builds in parallel then you should pre-process your node_modules via the command line ngcc tool before starting the builds;\n` +
62-
`See https://v9.angular.io/guide/ivy#speeding-up-ngcc-compilation.\n` +
61+
`If you are running multiple builds in parallel then you might try pre-processing your node_modules via the command line ngcc tool before starting the builds.\n` +
6362
`(If you are sure no ngcc process is running then you should delete the lock-file at ${
6463
lockFile.path}.)`);
6564
});

0 commit comments

Comments
 (0)