Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writable stream closed prematurely #96

Open
Raja-Ashutosh opened this issue Nov 7, 2024 · 2 comments
Open

Writable stream closed prematurely #96

Raja-Ashutosh opened this issue Nov 7, 2024 · 2 comments

Comments

@Raja-Ashutosh
Copy link

Raja-Ashutosh commented Nov 7, 2024

Hi Team,

I am using glup for minification and using visual studio 2022 ID for the same .

visual studio 2022 version -> 17.11.5

Node version -> v18.20.4
npm -> 10.9.0

i m facing the below error , can someone please help me.
error : Writable stream closed prematurely
6> at Pipeline.done (C:\Gitlab\src\Applications\Web\node_modules\streamx\index.js:454:43)
6> at PassThrough.emit (node:events:529:35)
6> at PassThrough.emit (node:domain:552:15)
6> at emitCloseNT (node:internal/streams/destroy:132:10)
6> at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

Package.json

{
"version": "1.0.0",
"name": "app",
"private": true,
"scripts": {
"test": "jest",
"coverage": "jest --no-cache --coverage --detectOpenHandles",
"debug": "node --inspect-brk=37607 ./node_modules/jest/bin/jest.js --runInBand Tiles.test.js"
},
"engines": {
"node": ">=16.15.1",
"npm": ">=8.11.0"
},
"overrides": {
"glob-parent": "6.0.2",
"lodash": "4.17.21",
"unset-value": "2.0.1",
"semver": "^7.5.2",
"@types/tough-cookie": "^4.0.2"
},
"devDependencies": {
"del": "^6.0.0",
"gulp": "^5.0.0",
"gulp-concat": "^2.6.1",
"gulp-sass": "^5.1.0",
"gulp-uglify": "^3.0.2",
"merge-stream": "^2.0.0",
"sass": "^1.80.6"
},
"dependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.18.9",
"cssnano": "^5.1.7",
"es5-ext": "0.10.63",
"gulp-autoprefixer": "^8.0.0",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.3.0",
"gulp-if": "^3.0.0",
"gulp-load-plugins": "^2.0.7",
"gulp-order": "^1.2.0",
"gulp-postcss": "^9.0.1",
"gulp-purgecss": "^4.1.3",
"gulp-sourcemaps": "^2.6.5",
"gulp-strip-debug": "^4.0.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"jquery": "^3.6.0",
"micromatch": "^4.0.8",
"nyc": "^15.1.0",
"streamx": "^2.20.1",
"uglify-save-license": "^0.4.1",
"ws": "^8.17.1",
"yargs": "^17.4.1"
},
"babel": {
"presets": [
[
"@babel/env"
]
]
},
"nyc": {
"all": true,
"include": [
"Features/Components//*.js"
],
"exclude": [
"
/test.js",
"Features/Shared/**/
.js"
]
},
"jest": {
"setupFilesAfterEnv": [
"/jest.setup.js"
],
"collectCoverage": true,
"coverageReporters": [
"text",
"text-summary",
"lcov"
],
"coveragePathIgnorePatterns": [
"image-lazy-loader.js"
],
"testEnvironment": "jest-environment-jsdom"
}
}

@phated
Copy link

phated commented Nov 7, 2024

This is not a streamx issue. The merge-stream package doesn't work correctly and thus does not work with streamx. You can use ordered-read-streams to join streams, which is streamx-compatible.

@Raja-Ashutosh
Copy link
Author

thank you so much@phated .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants