question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Missing export in the Stream Module

See original GitHub issue

While trying to compile the typescript code running tsc -p .(or npm install for what it’s worth) it exits with the following error:

node_modules/fast-csv/build/src/formatter/CsvFormatterStream.d.ts:2:21 - error TS2305: Module '"stream"' has no exported member 'TransformCallback'. 2 import { Transform, TransformCallback } from 'stream'

Anything I can do about it?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
SpencerGreenecommented, Jan 7, 2020

I encountered this same issue. On investigation, I discovered that my node version was 10.16.x but my @types/node version was 8.10.59. Once I forced my @types/node to a 10.x verison (actually to 10.17 since there is no 10.16), that cleared it up.

0reactions
doug-martincommented, Dec 18, 2019

I’ve tried a couple of different options to get this to break, but fast-csv has @types/node is included as a dependency.

If you can provide a short gist or github repo that demonstrates the problem I can try to help fix the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve the "No Export named XYZ found" error in ...
I receive the "No Export named XYZ found" error in AWS CloudFormation when I use Fn::ImportValue in my stack.
Read more >
javascript - webpack: import + module.exports in the same ...
I got the error Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>' . Turns out that changing import $...
Read more >
UNABLE TO EXPORT MODULE TO REQIF (ROOT BINDING ...
In v6, a missing root binding doesn't affect reqif export. In v7, a missing root binding prevents the module from being exported.
Read more >
Firebase JavaScript SDK Release Notes - Google
Fixed a bug where the fcmOptions field was missing from onMessage() and onBackgroundMessage() payloads. See Github issue #6207.
Read more >
ExcelJS imports fails with the TS1192 error on npm run build
What I'm missing in my configuration? ... If you get an error that the ExcelJS module has no default export, change your import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found