본문 바로가기
[AWS-FRF]/CICD

[중요][AWS] ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml 해결!!

by METAVERSE STORY 2024. 9. 13.
반응형
728x170

 

 

 

changed 1 package in 1s
 
1 package is looking for funding
run `npm fund` for details
Scope: all 12 workspace projects

 

 ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json

 

 
Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
 
Failure reason:
specifiers in the lockfile ({"@types/react-datepicker":"^4.19.3","apexcharts":"^3.45.2","classnames":"^2.3.2","dayjs":"^1.11.10","pkg":"^5.8.1","rc-tree":"^5.8.2","react-apexcharts":"^1.4.1","react-datepicker":"^4.23.0","react-kakao-maps-sdk":"^1.1.24","react-pdf":"^7.7.1","react-sortablejs":"^6.1.4","react-to-print":"^2.15.1","styled-components":"^6.1.1","vite-plugin-eslint":"^1.8.1","@types/node":"^20.11.6","@types/sortablejs":"^1.15.8","eslint":"^7.32.0","eslint-config-custom":"workspace:*","prettier":"^2.5.1","turbo":"^1.8.3","vite-plugin-static-copy":"^1.0.1"}) don't match specs in package.json ({"@types/node":"^20.11.6","@types/sortablejs":"^1.15.8","eslint":"^7.32.0","eslint-config-custom":"workspace:*","prettier":"^2.5.1","turbo":"^1.8.3","vite-plugin-static-copy":"^1.0.1","@types/react-datepicker":"^4.19.3","@types/react-i18next":"^8.1.0","apexcharts":"^3.45.2","axios":"^1.6.2","classnames":"^2.3.2","dayjs":"^1.11.10","i18next":"^23.15.0","i18next-http-backend":"^2.6.1","pkg":"^5.8.1","rc-tree":"^5.8.2","react-apexcharts":"^1.4.1","react-datepicker":"^4.23.0","react-i18next":"^15.0.1","react-kakao-maps-sdk":"^1.1.24","react-pdf":"^7.7.1","react-sortablejs":"^6.1.4","react-to-print":"^2.15.1","styled-components":"^6.1.1","vite-plugin-eslint":"^1.8.1"})
Build step 'Execute shell' marked build as failure
SSH: Current build result is [FAILURE], not going to run.

 

Finished: FAILURE

 

 

## pnpm-lock.yaml 파일 신규생성

 

 

 

반응형
그리드형

댓글