mirror of
https://github.com/arikchakma/maily.to.git
synced 2026-04-25 22:25:51 +03:00
[GH-ISSUE #183] Error everytime I do pnpm dev #292
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/maily.to#292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @godstark82 on GitHub (Apr 9, 2025).
Original GitHub issue: https://github.com/arikchakma/maily.to/issues/183
[plugin:vite:import-analysis] Failed to resolve entry for package "@maily-to/core". The package may have incorrect main/module/exports specified in its package.json.
C:/projects/redevs-projects/WSIVY-editors/maily.to/apps/web/app/components/email-editor.tsx:10:32
4 | import { cn } from "~/lib/classname";
5 | const Editor = lazy(async () => {
6 | const module = await import("@maily-to/core");
| ^
7 | return { default: module.Editor };
8 | });
This is the error I am getting everytime I do
pnpm devto run this@arikchakma commented on GitHub (Apr 10, 2025):
I cannot reproduce it. Please create a simple reproduction and re-open.
@bernaferrari commented on GitHub (Apr 15, 2025):
I get the same.
pnpm ipnpm devIf I comment style.css, I get the exception at @maily-to/core like the guy did.
@PrimoUomo89 commented on GitHub (Apr 15, 2025):
I have the same issue with the same steps to reproduce:
git clone
pnpm install
pnpm dev
open browser
Cannot find module ... styles.css
It's as if it's not resolving the core package exports correctly.
@PrimoUomo89 commented on GitHub (Apr 15, 2025):
I was able to get past though I'm not sure why. I rewrote core/style.css to core/dist/index.css, which gave me the error, no specifier for ./dist/index.css. Then I changed it back and it was working...
@arikchakma commented on GitHub (Apr 17, 2025):
So basically, if you see the dev,the first build takes some time if you open the app in that time it will crash. So you have to wait for the core to finish build then open the app.
@bernaferrari commented on GitHub (Apr 21, 2025):
it is weird for me, because even trying
pnpm buildfirst thenpnpm devIt still fails.