카테고리 없음
[nuxt] 'create-nuxt-app' is not recognized as an internal or external command 에러
angkeum
2022. 12. 10. 19:51
컴퓨터에서 nuxt 프로젝트를 새로 시작하기 위해
nuxt 커맨드를 쳐봤다.
npx
- npx create-nuxt-app <project-name>
yarn
- yarn create nuxt-app <project-name>
npm
- npm init nuxt-app <project-name>
다 해봤는데 위에 에러가 나오면서 안된다면
vue cli가 설치되지 않아서 발생하는 에러이다.
아래의 커맨드를 실행하고 하면 해결 된다.
npm i -g @vue/cli
npm i -g @vue/cli-init