Skip to content

Commit 66bc066

Browse files
authored
Changing the error message when wasm-pack is not found
1 parent bfbd489 commit 66bc066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ async function wasm_pack(cx, state, dir, source, id, options) {
162162

163163
} catch (e) {
164164
if (e.code === "ENOENT") {
165-
throw new Error("Could not find wasm-pack, install it with `yarn add --dev wasm-pack` or `npm install --save-dev wasm-pack`");
165+
throw new Error("Could not find wasm-pack, please report this as a bug");
166166

167167
} else if (options.verbose) {
168168
throw e;

0 commit comments

Comments
 (0)