crisp-oss / email-forward-parser

🐛 Parses forwarded emails and extracts original content.
https://www.npmjs.com/package/email-forward-parser
MIT License
55 stars 23 forks source link

error while importing package #6

Closed gagandt closed 1 year ago

gagandt commented 2 years ago

I'm trying to use this package but my builds fail with the following error:

ERROR in ../../email-forward-parser/node_modules/re2/re2.js 3:12-42
Module not found: Error: Can't resolve './build/Release/re2' in './node_modules/email-forward-parser/node_modules/re2'
 @ ../../email-forward-parser/lib/parser.js 4:34-48
 @ ../../email-forward-parser/lib/index.js 4:13-32

webpack compiled with 1 error
Environment: darwin, node 14.19.1,
aravindballa commented 1 year ago

could you resolve this?

eliottvincent commented 1 year ago

Hello @aravindballa ! When does this error happens? What is your environment?

aravindballa commented 1 year ago

I'm on M1 Mac running node v16 (with npm).

I'm trying to import this in a Remix project.

baptistejamin commented 1 year ago

Do you have any error logs when you npm install?Sent from my iPhoneOn 20 Nov 2022, at 06:42, Aravind Balla @.***> wrote: I'm on M1 Mac running node v16 (with npm). I'm trying to import this in a Remix project.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

eliottvincent commented 1 year ago

Inactive, closing.