[Bug]: Can't run
Opened this issue · 1 comments
istib commented
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
- I agree to follow this project's Code of Conduct
startryst commented
me too, I have the same issue. on MacOS 14.2, with latest node and npm