* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
yarn을 설치하라는데 정상적으로 설치 된거 맞나요? 저게 맞는지 몰라서요.
Microsoft Windows [Version 10.0.22000.1335]
(c) Microsoft Corporation. All rights reserved.
C:\Users\정민재>install -g yarn
'install'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
C:\Users\정민재>npm install -g yarn
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
added 1 package, and audited 2 packages in 15s
found 0 vulnerabilities
C:\Users\정민재>
C:\Users\정민재>
C:\Users\정민재>
C:\Users\정민재>
C:\Users\정민재>
C:\Users\정민재>npm install -g yarn
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
changed 1 package, and audited 2 packages in 1s
found 0 vulnerabilities
C:\Users\정민재>yarn
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 0.29s.
C:\Users\정민재>
C:\Users\정민재>yarn init
yarn init v1.22.19
question name (정민재): 정민재
error Invalid package name.
question name (정민재): 정민재
error Invalid package name.
question name (정민재): 민재
error Invalid package name.
question name (정민재): minjae
question version (1.0.0): 1.0.0
question description: description
question entry point (index.js): index.js
question repository url:
question author:
question license (MIT):
question private:
success Saved package.json
Done in 99.45s.
C:\Users\정민재>yarn add
yarn add v1.22.19
error Missing list of packages to add to your project.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
C:\Users\정민재>yarn install
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.16s.
C:\Users\정민재>yarn -v
1.22.19
C:\Users\정민재>