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

[중요][AWS] npm ERR! Missing script: "build:dev" 에러 해결!!

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

 

 



> vite-base@0.0.0 bootstrap
> npm install -g pnpm && pnpm install


changed 1 package in 1s

1 package is looking for funding
  run `npm fund` for details
 WARN  Unsupported engine: wanted: {"node":">=16.00"} (current: {"node":"v18.16.0","pnpm":"9.10.0"})
Scope: all 12 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date

Done in 3.2s
+ npm run build:dev
npm ERR! Missing script: "build:dev"
npm ERR! 
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/lib/jenkins/.npm/_logs/2024-09-13T00_23_17_603Z-debug-0.log
Build step 'Execute shell' marked build as failure
SSH: Current build result is [FAILURE], not going to run.
Finished: FAILURE

 

 

## 에러 발생시 package.json 에 하기 내용 추가

"build:dev": "turbo run build:dev"

 

 

 

 

 

반응형
그리드형

댓글