From 9280c9a8d9637b9c11fbc4d0f47fff2f6141f54c Mon Sep 17 00:00:00 2001 From: Juri Strumpflohner Date: Sun, 9 Jun 2024 21:33:38 +0200 Subject: [PATCH] fix(release): improve error msg to mention how to add the nx/js plugin (#26473) --- packages/nx/src/command-line/release/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nx/src/command-line/release/version.ts b/packages/nx/src/command-line/release/version.ts index 8ffc2e789e..9b2d4838a0 100644 --- a/packages/nx/src/command-line/release/version.ts +++ b/packages/nx/src/command-line/release/version.ts @@ -662,7 +662,7 @@ function resolveGeneratorData({ */ if (collectionName === '@nx/js') { throw new Error( - 'The @nx/js plugin is required in order to version your JavaScript packages. Please install it and try again.' + 'The @nx/js plugin is required in order to version your JavaScript packages. Run "nx add @nx/js" to add it to your workspace.' ); } throw new Error(