Skip to content

Commit 4b74c27

Browse files
committed
bugfix(core) update url for circular dependency in error message
Fixes the url in INVALID_MODULE_MESSAGE This closes nestjs#1369
1 parent 2a5e22e commit 4b74c27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/errors/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const INVALID_MIDDLEWARE_MESSAGE = (text, name: string) =>
5353
`The middleware doesn't provide the 'resolve' method (${name})`;
5454

5555
export const INVALID_MODULE_MESSAGE = (text, scope: string) =>
56-
`Nest cannot create the module instance. Often, this is because of a circular dependency between modules. Use forwardRef() to avoid it. (Read more https://docs.nestjs.com/advanced/circular-dependency.) Scope [${scope}]`;
56+
`Nest cannot create the module instance. Often, this is because of a circular dependency between modules. Use forwardRef() to avoid it. (Read more https://docs.nestjs.com/fundamentals/circular-dependency.) Scope [${scope}]`;
5757

5858
export const UNKNOWN_EXPORT_MESSAGE = (text, module: string) =>
5959
`Nest cannot export a component/module that is not a part of the currently processed module (${module}). Please verify whether each exported unit is available in this particular context.`;

0 commit comments

Comments
 (0)