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

TypeError: Cannot set property errored of #<Readable> which has only a getter #1

Open
ghost opened this issue Feb 14, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 14, 2023

Screenshot 2023-02-14 133154

C:\Users\jay78\Downloads\get-all-links-in-eml-emails-master>npm start

[email protected] start
node index.js

Found 443 EML files. Enumerating them now...
C:\Users\jay78\Downloads\get-all-links-in-eml-emails-master\node_modules\mailsplit\lib\message-splitter.js:24
this.errored = false;
^

TypeError: Cannot set property errored of # which has only a getter
at new MessageSplitter (C:\Users\jay78\Downloads\get-all-links-in-eml-emails-master\node_modules\mailsplit\lib\message-splitter.js:24:22)
at new MailParser (C:\Users\jay78\Downloads\get-all-links-in-eml-emails-master\node_modules\mailparser\lib\mail-parser.js:33:25)
at module.exports (C:\Users\jay78\Downloads\get-all-links-in-eml-emails-master\node_modules\mailparser\lib\simple-parser.js:25:18)
at C:\Users\jay78\Downloads\get-all-links-in-eml-emails-master\index.js:20:9
at Array.forEach ()
at C:\Users\jay78\Downloads\get-all-links-in-eml-emails-master\index.js:16:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.14.0

@Nilsemann
Copy link

Had the same issue. Downgraded NODE to v16 and it worked.

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

1 participant