728x90
๋ฐ์ํ
๐ก yarn 3.0์์ 4.0 ์ ๋ฐ์ดํธ ์ดํ Nexus Repository or Npm Repository์์ dependency ์ค์นํ๋ ๋ฐฉ๋ฒ์ ๋ค๋ฃจ์์ต๋๋ค.
Error Route
์ ๋ฐ์ดํธ ์ดํ ๋น๋๊ฐ ๋์ง ์๋ ์ํฉ
This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
์์กด์ฑ ์ค์น ์ค ๋ด๊ฐ ์ค์ ํ Repository๊ฐ ์๋ yarnpkg ์์ ์ฐพ๋ ์ํฉ
โค YN0000: · Yarn 4.0.2
โค YN0000: โ Resolution step
โค YN0035: โ create-ui@npm:^0.1.70: Package not found
โค YN0035: โ Response Code: 404 (Not Found)
โค YN0035: โ Request Method: GET
โค YN0035: โ Request URL: <https://registry.yarnpkg.com/create-ui>
โค YN0000: โ Completed in 1s 58ms
๊ธฐ์กด Repository ์ค์ ์ด ์๋๋ค๋ ์ํฉ์ผ๋ก ์๋ก์ด ์ค์ ๋ฐฉ๋ฒ ๊ฒ์
npmRegistryServer ์ค์
# .yarnrc.yml
nodeLinker: node-modules
npmRegistryServer: "<https://MyRepository.com/>"
Trouble shooting
yarn run install ์ดํ build ์ ์๋์ ๊ฐ์ ์๋ฌ ๋ฐ์ ์ผ์ ธ์๋ React App ์ข ๋ฃ ํ buildํ๋ฉด ์ฑ๊ณต
Error: EPERM: operation not permitted, unlink ๊ฒฝ๋ก...
728x90
๋ฐ์ํ
'React' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Unrecognized extension value in extension set ([object Object]). (0) | 2024.06.18 |
---|---|
React Labs React 19 - Memoization, useFormState (0) | 2024.03.21 |
[vite] Rollup failed to resolve import react-icons (0) | 2024.02.27 |
Yarn StoryBook ์คํ Error #22431 (0) | 2024.01.29 |
useEffect no dependency (0) | 2023.11.14 |