cutterbl / soundtouchjs-audio-worklet

AudioWorkletNode and AudioWorkletProcessor implementing SoundTouchJS
GNU Lesser General Public License v2.1
70 stars 10 forks source link

regeneratorRuntime is not defined #22

Open jon-myers opened 1 year ago

jon-myers commented 1 year ago

I needed to npm install --save regenerator-runtime

and add import regeneratorRuntime from 'regenerator-runtime' somewhere in my code.

lannodev commented 1 year ago

I have the same problem.

createSoundTouchNode.js:301 Uncaught (in promise) ReferenceError: regeneratorRuntime is not defined
    at createSoundTouchNode.js:301:5
    at createSoundTouchNode.js:18:6
    at createSoundTouchNode2 (createSoundTouchNode.js:18:6)
    at newShifter (PlayerStore.ts:280:23)
    at onLoad (PlayerStore.ts:296:7)
(