Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- camera permission
- adb connect
- github 100mb
- animation
- Can't resolve
- adb pair
- nextjs
- Each child in a list should have a unique "key" prop.
- vercel git lfs
- silent printing
- Failed to compiled
- react-native
- custom printing
- ffi-napi
- dvh
- github pdf
- camera access
- 이미지 데이터 타입
- 티스토리 성능
- react-native-dotenv
- augmentedDevice
- github lfs
- Recoil
- Git
- npm package
- rolldown
- device in use
- ELECTRON
- html
- electron-packager
Archives
- Today
- Total
Bleeding edge
2022/11/29 - Git actions 본문
Git actions 트러블 슈팅
1. missing script:make
npm missing script: make
해결 :
package.json에 scripts에 make가 포함은 되어있었다.
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "echo \\"No linting configured\\""
},
scripts에서 직접 사용할 수 없어서,
build.yml
build_on_mac: //MAC, WIN, LINUX모두
runs-on: macos-latest
- name: install dependencies
run: npm install
- name: build
run: npx electron-forge make //npm run make=>npx electron-forge make
다음과 같이 수정하였다.
2. dpend on "electron-prebuilt-compile" in your devDependencies
해결 :
어려운 문제는 아니다. 에러있는 그대로 electron-prebuilt-compile을 devDependencies에 넣어주면 해결된다.
package.json
{
...
"devDependencies": {
"@electron-forge/cli": "^6.0.3",
"@electron-forge/maker-deb": "^6.0.3",
"@electron-forge/maker-rpm": "^6.0.3",
"@electron-forge/maker-squirrel": "^6.0.3",
"@electron-forge/maker-zip": "^6.0.3",
"@electron-forge/publisher-github": "^6.0.3",
"electron-prebuilt-compile": "^8.2.0",
"electron": "21.3.1"
},
}
3. 알 수 없는 work flow error
이유는 모르겠지만.. 재실행을 시키니 error가 해결되었다. git actions에서는 재밌게도 실행을 할 때마다 다른 에러가 나오는 경우가 있다.
4. "code":"already_exists","field":"name”
이미지는.. 실수로 저장을 못했다.
그냥 진행할 때 나온 것이 아니라, 릴리즈 과정을 재확인하고 싶어서 이를 다시 실행하고 나온 에러. release와 같은 경우에는, 한 태그당 한개만 release파일이 존재할 수 있다. 태그에 해당하는 파일 커밋을 잘 핸들링하고 커밋하면 해결된다
'ConnecTo' 카테고리의 다른 글
2022/12/01 - npm 배포 (0) | 2022.12.02 |
---|---|
2022/11/30 (0) | 2022.11.30 |
2022/11/28 (0) | 2022.11.28 |
2022/11/25 - Redux (0) | 2022.11.28 |
2022/11/24 - Route (0) | 2022.11.24 |