尝试运行OpenAi应用程序:调用电话时找不到模块。
在那里!我正在尝试运行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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您已在终端中使用
npm安装
安装了必要的软件包。Make sure you've installed the necessary packages using
npm install
in the terminal.