Closed ibrahim-amer closed 3 months ago
Hi. If you're doing this in Nestjs that means you're doing this server side on node? Can you try uploading the files using a stream instead
https://pnp.github.io/pnpjs/sp/files/#adding-a-file-using-nodejs-streams
Closing this due to inactivity. If you continue to have issues please open a new issue, link to this issue, and provide any additional details available. Thanks!
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.
What version of PnPjs library you are using
4.x
Minor Version Number
3
Target environment
NodeJS
Additional environment details
I'm using NestJs.
Question/Request
Hi there,
I am encountering an issue when trying to upload a file in chunks using the addChunked method from PnP.js in a NestJS application. Specifically, I am trying to convert a buffer to a Blob and use it for the chunked upload, but I keep getting a TypeError: body.stream(...).pipe is not a function
Please help. I've been strugling with this issue for over a week.