在 Agora 中安装前端文件夹不起作用

installing front end folder in Agora isn't working

我正在尝试在我的 VS 代码上安装 Agora 视频聊天模板,我已经将它的后端部署到 Heroku 并从 Agora 下载源代码并将其安装在我的 npm window 上,当我 运行 命令 npm start ,它只安装后端目录而忽略前端,这是我得到的错误消息:

 ⌂ Main Menu  ▼ install                                                                       ┌──────────────────────────────────────────────────────────────┐                                                                                              │                                                              │√ Node >= 14.0 exists                                                                         │ Description                                                  │√ Cleaned project directories                                                                 │ Installs the codebase onto your local machine                │| Downloading frontend                                                                        │                                                              │√ Downloading backend                                                                         │                                                              │                                                                                              │                                                              │                                                                                              │                                                              │                                                                                              │                                                              │                                                                                              └──────────────────────────────────────────────────────────────┘
C:\Users\lenovo\Documents\current project\agora-chat-app\node_modules\yoga-layout-prebuilt\yoga-layout\build\Release\nbind.js:53
        throw ex;
        ^

Error: spawn npx ENOENT
    at notFoundError (C:\Users\lenovo\Documents\current project\agora-chat-app\node_modules\cross-spawn\lib\enoent.js:6:26)
    at verifyENOENT (C:\Users\lenovo\Documents\current project\agora-chat-app\node_modules\cross-spawn\lib\enoent.js:40:16)
    at ChildProcess.cp.emit (C:\Users\lenovo\Documents\current project\agora-chat-app\node_modules\cross-spawn\lib\enoent.js:27:25)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess.cp.emit (C:\Users\lenovo\Documents\current project\agora-chat-app\node_modules\cross-spawn\lib\enoent.js:30:37)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) {
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn npx',
  path: 'npx',
  spawnargs: [
    'react-native',
    'init',
    'omarchat2022',
    '--title',
    '"Group video by Omar Allam"',
    '--template',
    'agora-appbuilder-core@2.0.2',
    '--skip-install'
  ]
}

看起来像 Node.js 错误,我建议将 Node.js 更新到 LTS 版本。