Skip to content

Commit

Permalink
fix(release): improve error msg to mention how to add the nx/js plugin (
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr authored Jun 9, 2024
1 parent 55197fb commit 9280c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/release/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9280c9a

Please sign in to comment.