Skip to content

Instantly share code, notes, and snippets.

@dysbulic
Created February 7, 2021 08:33
Show Gist options
  • Save dysbulic/ac163c80aafe9424dc3a29912d08b36b to your computer and use it in GitHub Desktop.
Save dysbulic/ac163c80aafe9424dc3a29912d08b36b to your computer and use it in GitHub Desktop.
ERROR in /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.wasm
WebAssembly module is included in initial chunk.
This is not allowed, because WebAssembly download and compilation must happen asynchronous.
Add an async splitpoint (i. e. import()) somewhere between your entrypoint and the WebAssembly module:
* ./src/api_handler.js --> ./src/lib/claimMgr.js --> /home/will/code/identitylink-services/node_modules/@ceramicnetwork/http-client/lib/ceramic-http-client.js --> /home/will/code/identitylink-services/node_modules/@ceramicnetwork/doctype-caip10-link/lib/index.js --> /home/will/code/identitylink-services/node_modules/@ceramicnetwork/doctype-caip10-link/lib/caip10-link-doctype-handler.js --> /home/will/code/identitylink-services/node_modules/3id-blockchain-utils/lib/index.js --> /home/will/code/identitylink-services/node_modules/3id-blockchain-utils/lib/blockchains/filecoin.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.wasm
* ... --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.wasm
* ... --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.wasm --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.wasm
* ... --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.wasm --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.js --> /home/will/code/identitylink-services/node_modules/@zondax/filecoin-signing-tools/browser/filecoin_signer_wasm_bg.wasm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment