Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
remorses committed Jan 27, 2025
1 parent a4d2b19 commit 6908a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unframer/src/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 6908a03

Please sign in to comment.