Skip to content

Commit

Permalink
feat(common): less verbose 'missing package' error message
Browse files Browse the repository at this point in the history
The tip "npm install ..." is not that useful when one is using another package manager instead of NPM. And also can lead to confusion.
  • Loading branch information
micalevisk committed Jun 28, 2024
1 parent 15cb568 commit 9b4aa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/utils/load-package.util.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Logger } from '../services/logger.service';

const MISSING_REQUIRED_DEPENDENCY = (name: string, reason: string) =>
`The "${name}" package is missing. Please, make sure to install this library ($ npm install ${name}) to take advantage of ${reason}.`;
`The "${name}" package is missing. Please, make sure to install it to take advantage of ${reason}.`;

const logger = new Logger('PackageLoader');

Expand Down

0 comments on commit 9b4aa27

Please sign in to comment.