-
Notifications
You must be signed in to change notification settings - Fork 352
Open
Description
I'm having the same issue described here: #138
recognize-wav.mjs:
import DeepSpeech from 'deepspeech'
Executing:
node recognize-wav.mjs
node:internal/modules/cjs/loader:933
const err = new Error(message);
^
Error: Cannot find module '/home/raphy/Raphy-Template/node_modules/deepspeech/lib/binding/v0.9.3/linux-x64/node-v93/deepspeech.node'
Require stack:
- /home/raphy/Raphy-Template/node_modules/deepspeech/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/raphy/Raphy-Template/node_modules/deepspeech/index.js:24:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:190:29) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/raphy/Raphy-Template/node_modules/deepspeech/index.js' ]
}
node v16.13.0 which is the current LTS node version: https://nodejs.org/en/
How to make it work?
Metadata
Metadata
Assignees
Labels
No labels