尝试运行OpenAi应用程序:调用电话时找不到模块。

发布于 2025-02-10 07:17:39 字数 1325 浏览 2 评论 0原文

在那里!我正在尝试运行OpenAi应用程序(使用本教程: https:// beta beta 。安装了节点,然后修复它,将其安装在程序文件夹以及安装OpenAI应用程序的文件夹中。您知道如何解决这个问题吗?

这是输出:

Error: Cannot find module 'C:\Users\<name>\openAI\openai-quickstart-node\node_modules\npm\bin\npm-cli.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\laura\.03_myDevelopment\openAI\openai-quickstart-node\node_modules\npm\bin\npm-cli.js'
←[90m    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)←[39m
←[90m    at Function.Module._load (node:internal/modules/cjs/loader:778:27)←[39m
←[90m    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)←[39m
←[90m    at node:internal/main/run_main_module:17:47←[39m {
  code: ←[32m'MODULE_NOT_FOUND'←[39m,
  requireStack: []
} 

最好的问候, Solaris

Hej there! I am trying to run the openAI app (using this tutorial: https://beta.openai.com/docs/quickstart/build-your-application and the readMe on Github). Node is installed and I repaired it, installed it in the Programmes folder as well as the folder where I installed the openAI application. Do you have any idea how to solve this problem?

This is the output:

Error: Cannot find module 'C:\Users\<name>\openAI\openai-quickstart-node\node_modules\npm\bin\npm-cli.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\laura\.03_myDevelopment\openAI\openai-quickstart-node\node_modules\npm\bin\npm-cli.js'
←[90m    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)←[39m
←[90m    at Function.Module._load (node:internal/modules/cjs/loader:778:27)←[39m
←[90m    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)←[39m
←[90m    at node:internal/main/run_main_module:17:47←[39m {
  code: ←[32m'MODULE_NOT_FOUND'←[39m,
  requireStack: []
} 

Best regards,
Solaris

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

找回味觉 2025-02-17 07:17:39

确保您已在终端中使用npm安装安装了必要的软件包。

Make sure you've installed the necessary packages using npm install in the terminal.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文