sofn-xyz / mailing

Build, test, send emails with React
https://www.mailing.run
MIT License
3.6k stars 74 forks source link

Bug: Getting server error when starting the preview server #449

Closed takanome-dev closed 1 year ago

takanome-dev commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Each time I run npx mailing, I get the following error: ENOENT: no such file or directory, open glify-js/lib/utils.js

Another weird thing and not sure if I should open another issue is that I'm not getting any emails in my ethereal account even though everything looks fine :thinking: To Reproduce Steps to reproduce the behavior: I have a PR here

  1. Go to my pr
  2. Clone it
  3. Install the deps
  4. Run pnpm dev:preview

Expected behavior A clear and concise description of what you expected to happen. I was expecting to see my email templates and be able to tweak them as needed... Screenshots If applicable, add screenshots to help explain your problem. Screenshot from 2023-02-25 21-21-22

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

psugihara commented 1 year ago

Hey thanks for trying mailing and filing an issue. Unfortunately I think this is a problem with pnpm that we haven't shipped a solution for yet. We don't yet support pnpm (but a PR here would be very welcome). Here's the relevant issue #381. I'm going to close this and add a link here to the comment.

The log with mailing 💌 opening sendMail preview is telling you that it's opening the preview locally in your browser.

DavidTParks commented 1 year ago

I'm actually getting this error after installing with npm. This branch has the repro: https://github.com/DavidTParks/pixelfy/tree/mailing-run-integration