无法使用npm命令行创建nuxt-app

ht4b089n  于 2022-12-13  发布在  其他
关注(0)|答案(1)|浏览(324)

Command:

npx create-nuxt-app project-name

Error:

sh: create-nuxt-app: command not found

I'm trying to resolve the issue by running the following command:

npm i -g create-nuxt-app

But it gets stuck at the following step:

npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
(##################) ⠋ reify:rxjs: timing reifyNode:node_modules/create-nuxt-app/node_modules/lodash Completed in 461ms
tkclm6bt

tkclm6bt1#

此命令实际上解决了该问题。

npm i -g create-nuxt-app

问题解决了。我只需要再等一会儿

相关问题