最佳答案
您的 Windows 用户名中有一个空格。这是 NPX 的问题。
这是 NPM 看到的路径(正确)
这是NPX看到的路径(这是错误的)
您可以通过将 NPM-Cache 更改为另一个目录(路径中没有空格)来修复它:
npm config set cache C:\your\new\path\npm-cache --global
来源: https://github.com/zkat/npx/issues/146#issuecomment-384016791
关于javascript - npx create-nuxt-app <project-name> 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56721721/