You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "linshaoyou@meizu.com (JIRA)" <ji...@apache.org> on 2018/02/10 09:55:00 UTC

[jira] [Created] (WEEX-214) weex debug error,AssertionError [ERR_ASSERTION]: Chromium revision is not downloaded. Run "npm install"

linshaoyou@meizu.com created WEEX-214:
-----------------------------------------

             Summary: weex debug error,AssertionError [ERR_ASSERTION]: Chromium revision is not downloaded. Run "npm install"
                 Key: WEEX-214
                 URL: https://issues.apache.org/jira/browse/WEEX-214
             Project: Weex
          Issue Type: Bug
            Reporter: linshaoyou@meizu.com
            Assignee: Adam Feng
         Attachments: a.png

{color:#FF0000}1.执行weex debug 的时候,提示{color}

This command need to install weex-debugger. Installing...
ERROR: Failed to download Chromium r515411! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
Error: Download failed: server returned code 302. URL: https://npm.taobao.org/mirrors/chromium-browser-snapshots/Linux_x64/515411/chrome-linux.zip
 at ClientRequest.https.get.response (/home/linshaoyou/.xtoolkit/node_modules/weex-debugger/node_modules/puppeteer/utils/ChromiumDownloader.js:198:21)
 at Object.onceWrapper (events.js:315:30)
 at emitOne (events.js:116:13)
 at ClientRequest.emit (events.js:211:7)
 at HTTPParser.parserOnIncomingClient (_http_client.js:551:21)
 at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)
 at TLSSocket.socketOnData (_http_client.js:440:20)
 at emitOne (events.js:116:13)
 at TLSSocket.emit (events.js:211:7)
 at addChunk (_stream_readable.js:263:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@0.13.0 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the puppeteer@0.13.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! /home/linshaoyou/.npm/_logs/2018-02-10T09_29_52_739Z-debug.log
17:29:53 : Error: fatal error!

 

{color:#FF0000}2.set PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1后重新执行weex debug,报下面的错误{color}

AssertionError [ERR_ASSERTION]: Chromium revision is not downloaded. Run "npm install"

 

{color:#FF0000}3.自动打开的浏览器,看不到二维码如附件所示{color}

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)