deepgram-devs / deepgram-cli-legacy

[Deprecated] CLI for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
ISC License
12 stars 1 forks source link

[Bug]: Can't run #174

Open istib opened 11 months ago

istib commented 11 months ago

Contact Details

No response

What happened?

After successful install, the CLI doesn't run - see log below

Relevant log output

npm install -g @deepgram/cli
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs
npm WARN deprecated debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

changed 1051 packages in 46s

---

deepgram setup
 ›   ModuleLoadError: [MODULE_NOT_FOUND] require failed to load
 ›   /opt/homebrew/lib/node_modules/@deepgram/cli/src/hooks/init/log: Cannot find module
 ›   '/opt/homebrew/lib/node_modules/@deepgram/cli/src/hooks/init/log'
 ›   Require stack:
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/module-loader.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/help/util.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/help/formatter.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/help/command.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/help/index.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/flags.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/cli-ux/styled/table.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/cli-ux/styled/index.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/cli-ux/index.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/command.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/node_modules/@oclif/core/lib/index.js
 ›   - /opt/homebrew/lib/node_modules/@deepgram/cli/bin/run
 ›   Code: MODULE_NOT_FOUND

Code of Conduct

startryst commented 11 months ago

me too, I have the same issue. on MacOS 14.2, with latest node and npm