Improve message related to pnpm dlx
This commit is contained in:
parent
dd198f9f06
commit
53e94d04f6
@ -5,9 +5,11 @@ export function assertNoPnpmDlx() {
|
|||||||
if (__dirname.includes(`${pathSep}pnpm${pathSep}dlx${pathSep}`)) {
|
if (__dirname.includes(`${pathSep}pnpm${pathSep}dlx${pathSep}`)) {
|
||||||
console.log(
|
console.log(
|
||||||
[
|
[
|
||||||
chalk.red("Please don't use `pnpm dlx keycloakify`"),
|
chalk.red(
|
||||||
|
"Please don't use `pnpm dlx keycloakify` (download and execute)"
|
||||||
|
),
|
||||||
"\nUse `npx keycloakify` or `pnpm exec keycloakify` instead since you want to use the keycloakify",
|
"\nUse `npx keycloakify` or `pnpm exec keycloakify` instead since you want to use the keycloakify",
|
||||||
"version that is installed in your project and not the latest version on NPM."
|
"version that is installed in your project and not download and run the latest NPM version of keycloakify."
|
||||||
].join(" ")
|
].join(" ")
|
||||||
);
|
);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user