We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a73c773 commit 5b50cb9Copy full SHA for 5b50cb9
src/install.ts
@@ -49,6 +49,9 @@ export async function installTemplate(
49
50
location = "https://jsr.io/" + slug;
51
const relativePath = jsr.exports[relativeImport];
52
+ if (!relativePath) {
53
+ throw new Error(`Module is missing export: ${relativeImport}`);
54
+ }
55
if (relativePath.length > 1) {
56
location += relativePath.substring(1);
57
}
0 commit comments