【问题标题】:I want to install nuxt js but this error is showing every time我想安装 nuxt js 但每次都显示此错误
【发布时间】:2022-12-07 09:02:15
【问题描述】:

npm init nuxt-app 新项目-nuxt

sh: 1: create-nuxt-app: 未找到 错误!代码 127 错误!路径 /var/www/html 错误!命令失败 错误!命令 sh -c create-nuxt-app "new-project-nuxt"

【问题讨论】:

  • 您是否尝试过从https://github.com/nuxt/create-nuxt-app/issues/441 开始的步骤
  • 要走的路确实是使用npx create-nuxt-app <project-name>。此外,欢迎提供有关您的系统、配置、节点版本等的更多详细信息。您需要知道,对于 Nuxt2 应用程序,Node v16 仍然是可行的方法。
  • 感谢您的时间。它是这样工作的: npm init nuxt-app@latest <my-project>
  • 而是尝试使用npx
  • 我的意思是,你需要 Nuxt3 还是 Nuxt2?

标签: nuxt.js


【解决方案1】:

它是这样工作的:

npm init nuxt-app@latest <my-project>

【讨论】:

  • 请尽可能接受你自己的答案。
猜你喜欢
  • 2022-11-29
  • 2018-05-09
  • 2023-03-18
  • 1970-01-01
  • 2022-10-20
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多