510
« on: February 26, 2023, 01:45:21 am »
OK the issue is that node.exe isn't sending output to stdout, so it thinks that popen has failed....
Edit:
Interesting, the command line that is run is:
node.exe U:/DEV/qt6-webengine-os2-6.3.x/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --format iife -n InspectorOverlay --input gen/third_party/devtools-frontend/src/inspector_overlay/main.js --plugin ../../../../../src/3rdparty/chromium/third_party/devtools-frontend/src/inspector_overlay/loadCSS.rollup.js --plugin terser
Which produces no output. However, if I run:
node.exe U:/DEV/qt6-webengine-os2-6.3.x/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --format iife -n InspectorOverlay --input gen/third_party/devtools-frontend/src/inspector_overlay/main.js --plugin ../../../../../src/3rdparty/chromium/third_party/devtools-frontend/src/inspector_overlay/loadCSS.rollup.js
Then I get output...
If I then run terser on the generated js - then this works.... so it's something about running multiple plugins that's failing...
Edit2: hacked around this for now, by not running terser, and not checking the size of the generated js (terser is there to reduce the file size of the generated js)