mirror of
https://github.com/denoland/deno.git
synced 2024-12-18 13:22:55 -05:00
8be2bbf074
Support for Wasm modules. Note this implements the standard where the default export is the instance (not the module). The module will come later with source phase imports. ```ts import { add } from "./math.wasm"; console.log(add(1, 2)); ```
12 lines
601 B
Text
12 lines
601 B
Text
Download http://localhost:4545/wasm/math.wasm
|
|
error: Integrity check failed for remote specifier. The source code is invalid, as it does not match the expected hash in the lock file.
|
|
|
|
Specifier: http://localhost:4545/wasm/math.wasm
|
|
Actual: d1643d9d4ba8f34ee5198717860cbc629013179addba6d4e347b68eb721c73b4
|
|
Expected: c4fdd49432f1517835b93274447890007947f9d30674ab7f1474091860113d95
|
|
|
|
This could be caused by:
|
|
* the lock file may be corrupt
|
|
* the source itself may be corrupt
|
|
|
|
Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server.
|