juanjoDiaz / streamparser-json

Streaming JSON parser in Javascript for Node.js and the browser
MIT License
138 stars 11 forks source link

Cannot find module '@streamparser/json/index' or its corresponding type declarations #29

Closed kaiyoma closed 1 year ago

kaiyoma commented 1 year ago

After upgrading to the latest version of all packages, I'm getting this type error:

../../common/temp/node_modules/.pnpm/@types+json2csv__plainjs@6.1.0/node_modules/@types/json2csv__plainjs/src/StreamParser.d.ts:1:58 - error TS2307: Cannot find module '@streamparser/json/index' or its corresponding type declarations.

1 import { Tokenizer, TokenizerOptions, TokenParser } from '@streamparser/json/index';
                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in ../../common/temp/node_modules/.pnpm/@types+json2csv__plainjs@6.1.0/node_modules/@types/json2csv__plainjs/src/StreamParser.d.ts:1

Versions:

"@json2csv/plainjs": "6.1.3",
"@types/json2csv__plainjs": "6.1.0",
"@streamparser/json": "0.0.14"
juanjoDiaz commented 1 year ago

Is this still an issue with @json2csv v7?

kaiyoma commented 1 year ago

Nope, I think this issue is fixed now. Thanks!