Skip to content

Commit 9b4aa27

Browse files
committed
feat(common): less verbose 'missing package' error message
The tip "npm install ..." is not that useful when one is using another package manager instead of NPM. And also can lead to confusion.
1 parent 15cb568 commit 9b4aa27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/utils/load-package.util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Logger } from '../services/logger.service';
22

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

66
const logger = new Logger('PackageLoader');
77

0 commit comments

Comments
 (0)