Skip to content

TypeError: Cannot read property 'format' of undefined #3

@Tontome

Description

@Tontome

I have been trying to run the examples of this module. Unfortunately, I get always this error :

tom@Tom-VAIO:~/src/nodeJs/test-gspeech-api$ node timedTranscript.js
/mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/gspeech-api/index.js:169
var totalDuration = info.format.duration;
^

TypeError: Cannot read property 'format' of undefined
at /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/gspeech-api/index.js:169:28
at handleCallback (/mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/fluent-ffmpeg/lib/ffprobe.js:106:9)
at /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/fluent-ffmpeg/lib/ffprobe.js:145:16
at /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/fluent-ffmpeg/lib/capabilities.js:194:9
at /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/async/dist/async.js:356:16
at nextTask (/mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/async/dist/async.js:5057:29)
at /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/async/dist/async.js:5064:13
at apply (/mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/async/dist/async.js:21:25)
at /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/async/dist/async.js:56:12
at /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/async/dist/async.js:840:16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions