question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: _startRendering(...).finally is not a function

See original GitHub issue

Engine: Chromium

package.json

"devDependencies": {
        "electron": "^1.4.1",
        "electron-builder": "20.2.0",
        "electron-reload": "^1.2.2"
    },
    "dependencies": {
        "web-audio-beat-detector": "^8.1.5"
    }

Used call

const { analyze, guess } = require('web-audio-beat-detector');

analyze(this.source.buffer).then((tempo)=>{
	this.metadata.analyze.tempo = tempo;
}).catch((err)=>{
	console.error(err);
});

Error:

Uncaught (in promise) TypeError: _startRendering(...).finally is not a function node_modules\standardized-audio-context\build\es5\bundle.js:9346 
    at OfflineAudioContext.startRendering (node_modules\standardized-audio-context\build\es5\bundle.js:9346)
    at render (node_modules\web-audio-beat-detector-broker\build\es5\bundle.js:21)
    at _callee2$ (node_modules\web-audio-beat-detector-broker\build\es5\bundle.js:106)
    at tryCatch (node_modules\regenerator-runtime\runtime.js:63)
    at Generator.invoke [as _invoke] (node_modules\regenerator-runtime\runtime.js:293)
    at Generator.next (node_modules\regenerator-runtime\runtime.js:118)
    at asyncGeneratorStep (node_modules\@babel\runtime\helpers\asyncToGenerator.js:3)
    at _next (node_modules\@babel\runtime\helpers\asyncToGenerator.js:25)
    at node_modules\@babel\runtime\helpers\asyncToGenerator.js:32
    at Promise (<anonymous>)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
SimonNitzschecommented, Apr 26, 2021

Thanks for the fast reply, i thought i already updated electron to the newest version, i will try to update it again after work and give feedback afterwards.

0reactions
chrisguttandincommented, Apr 26, 2021

Thanks for letting me know. I’m going to close this for now. Feel free to open it again if you discover that the issue isn’t on your end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

api.get(...).then(...).catch(...).finally is not a function
I have a React Native API call I am making. Theoretically it should work - import API from "../../utils/API" ...
Read more >
Error finally is not a function #56 - Vizzuality/layer-manager
TypeError : "Promise.all(...).then(...).finally is not a function" In happens in Firefox 68.0.1 64-bit. It is happening in all projects based ...
Read more >
Firefox Promise - getting finally is not a function? : r/javascript
Hello all, According to https://caniuse.com/#search=finally and… ... `Unhandled promise rejection TypeError: "t.finally is not a function"`
Read more >
5 things you don't know about try-catch-finally in JavaScript
1. Return statement inside the try or catch block ... If we have a finally block, the return statement inside try and catch...
Read more >
Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError - Some selector is not a function - jQuery is not a function - owlCarousel...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found