亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

解決npm install時報錯無法安裝chromedriver的問題

發布時間:2020-07-18 19:46:32 來源:網絡 閱讀:7888 作者:ZeroOne01 欄目:web開發

最近使用vue開發了一個前端項目,開發好后準備部署到服務器上。從git倉庫拉下項目代碼后,運行npm install安裝項目所依賴的模塊時卻報錯了,錯誤信息如下:

> chromedriver@2.41.0 install /app/developer/git-repository/back_admin_front/node_modules/chromedriver
> node install.js

/app/developer/git-repository/back_admin_front/node_modules/chromedriver/chromedriver is not writable: EACCES: permission denied, mkdir '/app/developer/git-repository/back_admin_front/node_modules/chromedriver/chromedriver'
Downloading https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
Saving to /tmp/chromedriver/chromedriver_linux64.zip
Received 781K...
Received 1575K...
Received 2359K...
Received 3143K...
Received 3852K total.
Extracting zip contents
Copying to target path /app/developer/git-repository/back_admin_front/node_modules/chromedriver/lib/chromedriver
ChromeDriver installation failed { Error: EACCES: permission denied, mkdir '/app/developer/git-repository/back_admin_front/node_modules/chromedriver/lib/chromedriver'
    at Object.fs.mkdirSync (fs.js:885:18)
    at /app/developer/git-repository/back_admin_front/node_modules/chromedriver/install.js:230:10
    at <anonymous>
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/app/developer/git-repository/back_admin_front/node_modules/chromedriver/lib/chromedriver' }
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! chromedriver@2.41.0 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the chromedriver@2.41.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-10-10T02_21_34_357Z-debug.log

解決辦法,先安裝以下模塊:

npm install --ignore-scripts
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

凤阳县| 霍邱县| 浠水县| 马边| 万全县| 乌鲁木齐县| 元朗区| 绥江县| 南陵县| 隆化县| 开封市| 台安县| 定安县| 湖南省| 临夏县| 大安市| 安远县| 华宁县| 合水县| 吐鲁番市| 延寿县| 郸城县| 阿克陶县| 西丰县| 孟村| 阿鲁科尔沁旗| 衡南县| 仙居县| 塘沽区| 和硕县| 合川市| 淅川县| 保亭| 玉林市| 宁津县| 西华县| 交口县| 澄江县| 阿鲁科尔沁旗| 长治县| 江西省|