From 6908a036efe018adccae87029060dafa7d7412f9 Mon Sep 17 00:00:00 2001 From: remorses Date: Mon, 27 Jan 2025 12:03:33 +0100 Subject: [PATCH] better error message --- unframer/src/esbuild.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unframer/src/esbuild.ts b/unframer/src/esbuild.ts index 69a1fa9..01e1c41 100644 --- a/unframer/src/esbuild.ts +++ b/unframer/src/esbuild.ts @@ -98,7 +98,7 @@ export function esbuildPluginBundleDependencies({ }).catch(() => '') if (!installedVersion) { spinner.error( - `${pkg} not found: install it with \`npm i ${pkg}\``, + `${pkg} not found: install it with \`npm i ${pkg}\` then run \`unframer\` again to generate the types`, ) } return { @@ -124,7 +124,7 @@ export function esbuildPluginBundleDependencies({ }).catch(() => '') if (!installedVersion) { spinner.error( - `${pkg} not found: install it with \`npm i ${pkg}\``, + `${pkg} not found: install it with \`npm i ${pkg}\` then run \`unframer\` again to generate the types`, ) } return {