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

error TS2305: Module '"entities/lib/decode.js"' has no exported member 'EntityDecoder'. #1296

Open
shashi-chemist2u opened this issue Oct 14, 2024 · 2 comments

Comments

@shashi-chemist2u
Copy link

node_modules/parse5/dist/tokenizer/index.d.ts:3:10 - error TS2305: Module '"entities/lib/decode.js"' has no exported member 'EntityDecoder'.

3 import { EntityDecoder } from 'entities/lib/decode.js';


Found 1 error in node_modules/parse5/dist/tokenizer/index.d.ts:3

[email protected] version has breaking change was fine on [email protected] version
@43081j
Copy link
Collaborator

43081j commented Oct 14, 2024

Interesting. entities has exported EntityDecoder for a while now

@fb55 any idea about this? Maybe npm needs to bump the locally installed entities version but we did bad semver? I don't see how though 🤔

@fb55
Copy link
Collaborator

fb55 commented Oct 14, 2024

This has been out for years now. My guess would be bad package deduplication. Removing your node modules and lock file should fix this.

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

5 participants
@fb55 @43081j @shashi-chemist2u and others