-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
node_modules/@types/superagent/index.d.ts(23,10): error TS2305: Module '"buffer"' has no exported member 'Blob'. #58445
Comments
yes I see same problem with new release (4.1.15) |
When GitHub run CI/CD with my repo, it got the error: node_modules/@types/superagent/index.d.ts(23,10) |
|
Build breaker for me. Manually installing 4.1.14 fixed but this was a peer dependency of a nest.js package. Please fix so I can get this out the devDeps ASAP. Thanks |
you mean switch @types/superagent to 4.1.14 ? |
upgrading @types/node (from 12.x to 14.x) worked for me |
I changed the version and it worked. Suggestion: Improve your semantic versioning as this represents a BREAKING CHANGE and not a patch. |
I agree. This should support node 12.x or a minor bump rather than a patch for semantic versioning. So why did this get closed instead of reverted and the correct versioning bump? |
"@types/node": "^14.18.16", "@types/superagent": "^4.1.15". The above versions worked for me. |
node 14 and its typing breaks our framework. It won't be until the end of this year we can migrate from node 12 to 14. More of a lesson learned though. We removed ^ from our package.json versioning. still unexpected. But no worries. |
Did you find a way to get it working? |
I tried to create a pull request with a fix here lebyanelm#1 |
When github run CI/CD with my repo, it got the error: node_modules/@types/superagent/index.d.ts(23,10): error TS2305: Module '"buffer"' has no exported member 'Blob'.
Hope someone handled it
The text was updated successfully, but these errors were encountered: