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

node_modules/@types/superagent/index.d.ts(23,10): error TS2305: Module '"buffer"' has no exported member 'Blob'. #58445

Closed
zaytsev5 opened this issue Jan 26, 2022 · 13 comments

Comments

@zaytsev5
Copy link

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

@valera33
Copy link

yes I see same problem with new release (4.1.15)
4.1.14 is OK

@ayeen
Copy link

ayeen commented Jan 26, 2022

When GitHub run CI/CD with my repo, it got the error: node_modules/@types/superagent/index.d.ts(23,10)
Module '"buffer"' has no exported member 'Blob'.
Hope someone handled it

@zaytsev5
Copy link
Author

yes I see same problem with new release (4.1.15) 4.1.14 is OK

@djErock
Copy link

djErock commented Jan 26, 2022

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

@dantehemerson
Copy link

Same here @djErock. Since we don't have a solution for this yet,,can we reopen this issue @zaytsev5?

@zaytsev5
Copy link
Author

you mean switch @types/superagent to 4.1.14 ?

@zaytsev5 zaytsev5 reopened this Jan 27, 2022
@valera33
Copy link

valera33 commented Jan 27, 2022

upgrading @types/node (from 12.x to 14.x) worked for me

@adrianoreine
Copy link

I changed the version and it worked. Suggestion: Improve your semantic versioning as this represents a BREAKING CHANGE and not a patch.

@tamusjroyce
Copy link

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?

@subhash-malireddy
Copy link

"@types/node": "^14.18.16", "@types/superagent": "^4.1.15".

The above versions worked for me.

@tamusjroyce
Copy link

tamusjroyce commented Apr 29, 2022

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.

@Notaduck
Copy link

Notaduck commented May 2, 2022

nest

Did you find a way to get it working?

@lebyanelm
Copy link

lebyanelm commented Sep 8, 2022

I tried to create a pull request with a fix here lebyanelm#1

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

10 participants