异步数组缓冲区中的“未定义Blob”错误。如何解决?

时间:2019-01-10 03:45:14

标签: javascript node.js ssr

尝试启动SSR并从standardized-audio-context导入{AudioContext}时遇到错误

/workspace/node_modules/async-array-buffer/build/es5/bundle.js:10
    var blob = new Blob([worker], {
               ^

ReferenceError: Blob is not defined
    at /workspace/node_modules/async-array-buffer/build/es5/bundle.js:10:13
    at /workspace/node_modules/async-array-buffer/build/es5/bundle.js:2:65
    at Object.<anonymous> (/workspace/node_modules/async-array-buffer/build/es5/bundle.js:5:2)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Module._compile (/workspace/node_modules/pirates/lib/index.js:83:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Object.newLoader [as .js] (/workspace/node_modules/pirates/lib/index.js:88:7)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
error Command failed with exit code 1.

如何解决?我需要从哪里开始挖掘?

0 个答案:

没有答案