Skip to content

Commit

Permalink
feat: less verbose 'missing packages' error message
Browse files Browse the repository at this point in the history
Following the same words are the errors raised by `@nestjs/common`
  • Loading branch information
micalevisk committed Jun 28, 2024
1 parent 77c3e45 commit f16f5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compiler/swc/swc-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class SwcCompiler extends BaseCompiler {
} catch (err) {
console.error(
ERROR_PREFIX +
' Failed to load "@swc/cli" and "@swc/core" packages. Please, install them by running "npm i -D @swc/cli @swc/core".',
' Failed to load "@swc/cli" and/or "@swc/core" required packages. Please, make sure to install them as development dependencies.',
);
process.exit(1);
}
Expand Down

0 comments on commit f16f5b9

Please sign in to comment.