Code Monkey home page Code Monkey logo

Comments (9)

wvanderdeijl avatar wvanderdeijl commented on September 28, 2024 4

We experience these errors as well since upgrading from Node.js v20.10 to v20.11. It seems this is due to a change to private properties in nodejs/node#50341
This in turn throws an error in the stream-split library which has been fixed in v1.0.2: mafintosh/stream-shift#6
We still had v1.0.1 in our package-lock file. Upgrading that to 1.0.2 fixed the issue.

from nodejs-storage.

ddelgrosso1 avatar ddelgrosso1 commented on September 28, 2024 2

@nadavzipo I'll keep an eye on duplexify to see when it gets updated and bump here accordingly.

from nodejs-storage.

LisanDia avatar LisanDia commented on September 28, 2024

I was experimenting the same issue but with a docker image.

Specifiying the version of my nodejs in my Dockerfile did the job for me:

FROM node:20.10-buster-slim

The version I'm using of "@google-cloud/storage" is "^7.3.2"

from nodejs-storage.

Muratcol avatar Muratcol commented on September 28, 2024

We faced the same problem. After a normal version update, the Download function stopped, and all our systems using download crashed. We switched back to an old revision.

It needs to be fixed as soon as possible, we can't update the API anymore.

from nodejs-storage.

ddelgrosso1 avatar ddelgrosso1 commented on September 28, 2024

Hi all, I just want to reconfirm that this issue is arising when updating to Node v20.11? Has any other version been problematic?

from nodejs-storage.

nadavzipo avatar nadavzipo commented on September 28, 2024

Hi all, I just want to reconfirm that this issue is arising when updating to Node v20.11? Has any other version been problematic?

Yes. Now v20.11.0 is the lts version so a lot of people will start using it.
I see there is a another issue opens on that as well for newer nodejs versions - #2368

from nodejs-storage.

ddelgrosso1 avatar ddelgrosso1 commented on September 28, 2024

It looks like the suggestion from @wvanderdeijl (#2391 (comment)) is likely the fix. It appears that 1.0.2 of stream-shift was released within the last week and was addressing this problem.

from nodejs-storage.

nadavzipo avatar nadavzipo commented on September 28, 2024

It looks like the suggestion from @wvanderdeijl (#2391 (comment)) is likely the fix. It appears that 1.0.2 of stream-shift was released within the last week and was addressing this problem.

I asked the maintainer to push stream-shift fix to duplexify (same maintaner) - mafintosh/stream-shift#10 (comment)
After it is pushed please bump it here as well

from nodejs-storage.

danielduhh avatar danielduhh commented on September 28, 2024

Thanks for the investigation!
Please upgrade to stream-shift 1.0.2 (a dependency of duplexify in this repo). This will fix the error. We have plans to move away from duplexify altogether -- you can track that here: #2041

from nodejs-storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.