首页 > 解决方案 > 尝试在 Linux Mint 上创建机器人时来自 Microsoft Bot Framework Composer 的 ENOENT 错误

问题描述

我已经在 Linux Mint 20.2 上安装了 Bot Framework Composer。我通过 nvm 安装了 npm 7.6.0 和 node v15.11.0。当我尝试在作曲家中创建一个新机器人时,我收到了附件图像中显示的错误。

Error calling npm to fetch template. Please ensure that node and npm are installed and available on your system. Full error message: Command failed with ENOENT: npm root -g --prefix /home/.yo-repository --loglevel error spawnSync npm ENOENT

在此处输入图像描述

标签: bot-framework-composer

解决方案


推荐阅读