Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111852

Build failure of WebEngine (error when calling compress_files.js)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.4.2
    • WebEngine
    • None
    • Windows / MSVC 2019 64 bit / 32 GB RAM
      python 3.7.5
      nodejs 12.4.0
    • Windows
    • 2c80ff478 (dev)

    Description

      The build of WebEngine fails with the following:

      C:/Python37/python.exe ../../../../../../qt5/qtwebengine/src/3rdparty/chromium/third_party/node/node.py ../../../../../../qt5/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/compress_files.js --file_list __third_party_devtools-frontend_src_compress___build_toolchain_win_x64__rule..rsp
      Traceback (most recent call last):
        File "../../../../../../qt5/qtwebengine/src/3rdparty/chromium/third_party/node/node.py", line 58, in <module>
          RunNode(sys.argv[1:])
        File "../../../../../../qt5/qtwebengine/src/3rdparty/chromium/third_party/node/node.py", line 53, in RunNode
          raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err))
      RuntimeError: Command 'C:\Program Files\nodejs\node.exe ../../../../../../qt5/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/compress_files.js --file_list __third_party_devtools-frontend_src_compress___build_toolchain_win_x64__rule..rsp' failed
      compress_files.js failure TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be one of type string or Buffer. Received type number
          at validChunk (_stream_writable.js:265:10)
          at BrotliCompress.Writable.write (_stream_writable.js:299:21)
          at Readable.ondata (_stream_readable.js:713:22)
          at Readable.emit (events.js:200:13)
          at addChunk (_stream_readable.js:294:12)
          at readableAddChunk (_stream_readable.js:275:11)
          at Readable.push (_stream_readable.js:210:10)
          at next (_stream_readable.js:1194:27)
          at processTicksAndRejections (internal/process/task_queues.js:89:5) 

      Attachments

        For Gerrit Dashboard: QTBUG-111852
        # Subject Branch Project Status CR V

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            jd__ Jérôme Desfieux
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes