Run ...-actions/...@main
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'tunnel'
Require stack:
- /runner/_work/_actions/...-actions/.../main/dist/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.9669 (/runner/_work/_actions/...-actions/.../main/dist/index.js:7774:33)
at __nccwpck_require__ (/runner/_work/_actions/...-actions/.../main/dist/index.js:7897:43)
at Object.6255 (/runner/_work/_actions/...-actions/.../main/dist/index.js:1029:29)
at __nccwpck_require__ (/runner/_work/_actions/...-actions/.../main/dist/index.js:7897:43)
at Object.8041 (/runner/_work/_actions/...-actions/.../main/dist/index.js:497:23)
at __nccwpck_require__ (/runner/_work/_actions/...-actions/.../main/dist/index.js:7897:43) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/runner/_work/_actions/...-actions/.../main/dist/index.js'
]
}
사내 깃헙에서 custom action을 만들었는데 tunnel 모듈을 찾을 수 없다고 나옵니다.
Self-hosted runner를 사용중인데, proxy를 사용하면 tunnel 라이브러리를 직접 추가해줘야 하는 것 같네요
npm install tunnel
추가하면 끝입니다 (https://www.npmjs.com/package/tunnel)
반응형
'version control > git' 카테고리의 다른 글
[git] blame '--ignore-rev' 사용법 (0) | 2022.06.05 |
---|---|
[GitHub] 쓸만한 포크 찾기, useful-forks (0) | 2022.05.14 |
[git] remote rejected (missing necessary objects) (태그관련) (0) | 2021.03.27 |
[git] pre-commit으로 pre-push git hooks 설정방법 (django migration) (0) | 2021.03.13 |
[git] git 언어 변경 방법 (0) | 2021.02.28 |