Comments (9)
Thank you, Gabriel
[email protected]
works :) and the server is starting all right, although the image path is not resolved correctly so they are not visible
from react-email.
so the first error is a Windows issue we have already fixed on canary, you can update to [email protected]
the second one though, seems to be something else
I'll checkout your repro when I have some time
from react-email.
Thank you for the quick reply Gabriel :), I will update to the canary version and will tell you the details
from react-email.
although the image path is not resolved correctly so they are not visible
Where are you placing static files? Also, did you modify the default emails directory? Might be related to #1265
from react-email.
this is my current workspace structure
from react-email.
Try moving your static
directory into emails/static
from react-email.
I had the same issue, installing the canary version and moving the static
dir to emails/static
did resolve the issue.
I am noticing a performance issue, this is my first time using react email, so I am unsure if this is a windows specific or just how it is.
Basically when I am switching between emails it takes at least 1 second to switch, the vercel-invite-user email took at least 3s
I am more than happy to file bug, if it's actually a bug
2024-02-14.06-26-03.mp4
from react-email.
Hey @FatahChan
I am more than happy to file bug, if it's actually a bug
Not a bug, so no need to file a bug.
But it is something that bothers me, I wish we did have better performance on that. Would be nice to brainstorm
a few ideas on how to tackle this though. Maybe a discussion?
I do know that initial render takes a bit longer because we don't really build the NextJS preview server
so it always re-compiles the preview page which really is not optimal, but not sure if would make a very large
difference.
from react-email.
Related Issues (20)
- email preview complains about missing dependencies HOT 3
- Couldn't find any `pages` or `app` directory. Please create one under the project root HOT 3
- ReferenceError: Request is not defined HOT 3
- TextDecoder is not defined when running `email dev` HOT 12
- Error: The "path" argument must be of type string. Received undefined HOT 2
- `npx create-email` starter doesn't load static images when running `email dev`
- Load Static error while using --dir for email dev
- Font Component cannot change the font family in Windows Outlook.. HOT 7
- Array of children gets wrapped in additional table HOT 3
- Module '"@react-email/components"' has no exported member 'Markdown' HOT 2
- Default create-email boilerplate : Nextjs app crash at startup HOT 3
- Markdown custom styles can't handle quotes in e.g. font property HOT 1
- bringing back the refs HOT 1
- Error: The "path" argument must be of type string. Received undefined HOT 2
- npm run dev throwing error
- Button lineHeight not working HOT 5
- Export script fails to generate html with `component.default is not a function`. Build script deletes email package. HOT 2
- Couldn't find any `pages` or `app` directory. Please create one under the project root HOT 2
- Error: Failed to find Server Action "55a9c3606b93e6d9bf0c4e99c71bbe33e93e20bd". This request might be from an older or newer deployment. Original error: Cannot read properties of undefined (reading 'workers') HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-email.