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: async.eachOf is not a function #2

Open
viniciusrtf opened this issue Aug 23, 2021 · 0 comments
Open

TypeError: async.eachOf is not a function #2

viniciusrtf opened this issue Aug 23, 2021 · 0 comments

Comments

@viniciusrtf
Copy link

Hi folks!

I followed README and typed this:

$ node index.js myfile.json myfile.srt

And got this error:

/home/xyz/dev/tools/aws-transcribe-to-srt/lib/srtConvert.js:31
        async.eachOf(json.results.items, function(item, index) {
              ^

TypeError: async.eachOf is not a function
    at SrtConvert.convertFile (/home/xyz/dev/tools/aws-transcribe-to-srt/lib/srtConvert.js:31:15)
    at fs.readFile (/home/xyz/dev/tools/aws-transcribe-to-srt/index.js:33:40)
    at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)

Installed node version:

$ node --version
v10.19.0

Is it a node version issue?

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