> puppeteer@13.5.1 install /home/ubuntu/toy/npm_project/node_modules/puppeteer
> node install.js
ERROR: Failed to set up Chromium r970485! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
[Error: EACCES: permission denied, mkdir '/home/ubuntu/toy/npm_project/node_modules/puppeteer/.local-chromium'] {
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/home/ubuntu/toy/npm_project/node_modules/puppeteer/.local-chromium'
}
npm WARN npm_test@1.0.0 No description
npm WARN npm_test@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@13.5.1 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puppeteer@13.5.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
해결 방법:
아래 명령어 실행 후 다시 npm install 을 해주세요.
$ npm install --ignore-scripts puppeteer
'프로그램 > Linux' 카테고리의 다른 글
Linux Symbolic Link(심볼릭 링크) (0) | 2020.03.02 |
---|---|
ubuntu 18.04 Jenkins Install (0) | 2018.12.12 |
여러 버전의 java 를 설치 했을시 다른 java 버전 선택 하는 방법 (0) | 2018.12.11 |
netstat 명령어로 포트 사용 유무 체크 (0) | 2018.12.04 |
ssh: connect to host 192.168.1.7 port 22: Connection refused 해결법 (1) | 2014.03.03 |