安装next和创建app时发生错误



无法安装next并创建应用程序。我使用https://nuxtjs.org/docs/get-started/installation和https://github.com/nuxt/create-nuxt-app创建应用程序,但发生此错误:"create-nuxt-app"不是内部的还是外部的程序或批处理文件执行的命令。

npm ERR! path C:UsersAcerDesktopnuxt
npm ERR! command failed
npm ERR! command C:Windowssystem32cmd.exe /d /s /c create-nuxt-app "hacker-news"
npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersAcerAppDataLocalnpm-cache_logs2022-12-03T06_03_59_129Z-debug-0.log```
Please help!
PS: node js and npm are installed

我明白了

  1. npm cache clean——force (sudo如果需要)

  2. npm安装

最新更新