Insiders VSCode on Node 16.10 breaks pipeline streams #144962
Labels
electron-17-update
Issues related to electron 17 update
extension-host
Extension host issues
fixed-in-electron-18
Issues fixed with Electron 18.x update
insiders-released
Patch has been released in VS Code Insiders
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
upstream-issue-linked
This is an upstream issue that has been reported upstream
Milestone
Issue Type: Bug
My Pester Tests extension uses this API. The latest insiders which switched to NodeJS 16.x broke my extension. Here is the relevant issue that is fixed in later versions, if possible to bump vscode to a newer vscode 16.x version
nodejs/node#40191
// Workaround nodejs/node#40191
// todo: remove it when fix is released in 16.x and in AppEngine 16.x
if (process.version > 'v16.13') {
const { pipeline } = require('stream/promises')
_pipeline = ((streams: AnyStream[]) => pipeline(...streams)) as any
}
VS Code version: Code - Insiders 1.66.0-insider (6b74534, 2022-03-11T05:17:19.559Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (40)
A/B Experiments
The text was updated successfully, but these errors were encountered: