Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: saveAs is not a function #52

Open
EugeneHerasymchuk opened this issue Mar 21, 2018 · 0 comments
Open

TypeError: saveAs is not a function #52

EugeneHerasymchuk opened this issue Mar 21, 2018 · 0 comments

Comments

@EugeneHerasymchuk
Copy link

EugeneHerasymchuk commented Mar 21, 2018

The error appeared using Audio library

Audio.load(link).then(audio =>
        audio
          .slice(this.range[0], (this.range[1] - this.range[0]), {copy: false})
          .save('sample-edited.mp3')
      )
Uncaught (in promise) TypeError: saveAs is not a function
    at eval (browser.js?f831:42)
    at new Promise (<anonymous>)
    at save (browser.js?f831:40)
    at Audio.save (core.js?a391:285)
    at eval (HelloWorld.vue?18db:122)

Audio was installed using npm i -S audiojs/audio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant