[GH-ISSUE #106] Unable to run it locally. #38

Closed
opened 2026-03-01 14:39:39 +03:00 by kerem · 2 comments
Owner

Originally created by @developersaintt on GitHub (Jan 18, 2025).
Original GitHub issue: https://github.com/arikchakma/maily.to/issues/106

Hey there,

Great project, really wanna test it out locally but when I run pnpm dev in the root directory it says missing packageManager field in package.json

If I goto /apps/web folder and then run pnpm dev it gives the following error

⨯ ./components/editor-preview.tsx:5:1
Module not found: Can't resolve '@maily-to/core'
  3 | import { useCallback, useEffect, useState } from 'react';
  4 | import type { EditorProps } from '@maily-to/core';
> 5 | import { Editor } from '@maily-to/core';
    | ^
  6 | import { Loader2, X } from 'lucide-react';
  7 | import type { Editor as TiptapEditor, JSONContent } from '@tiptap/core';
  8 | import { useEditorContext } from '@/stores/editor-store';

https://nextjs.org/docs/messages/module-not-found 

Image

Image

checked and I do have the packages/core in the root directory.

Thanks

Originally created by @developersaintt on GitHub (Jan 18, 2025). Original GitHub issue: https://github.com/arikchakma/maily.to/issues/106 Hey there, Great project, really wanna test it out locally but when I run `pnpm dev` in the root directory it says `missing packageManager field in package.json` If I goto `/apps/web` folder and then run `pnpm dev` it gives the following error ``` ⨯ ./components/editor-preview.tsx:5:1 Module not found: Can't resolve '@maily-to/core' 3 | import { useCallback, useEffect, useState } from 'react'; 4 | import type { EditorProps } from '@maily-to/core'; > 5 | import { Editor } from '@maily-to/core'; | ^ 6 | import { Loader2, X } from 'lucide-react'; 7 | import type { Editor as TiptapEditor, JSONContent } from '@tiptap/core'; 8 | import { useEditorContext } from '@/stores/editor-store'; https://nextjs.org/docs/messages/module-not-found ``` ![Image](https://github.com/user-attachments/assets/69d9f9f7-28ae-4540-944f-1aaeac0dbdae) ![Image](https://github.com/user-attachments/assets/79b9a84a-df87-424f-8dcd-f7cf46ae7dc4) checked and I do have the `packages/core` in the root directory. Thanks
kerem closed this issue 2026-03-01 14:39:40 +03:00
Author
Owner

@developersaintt commented on GitHub (Jan 18, 2025):

added the package version in the package.json as instead of :workspace* that was written.

<!-- gh-comment-id:2599748409 --> @developersaintt commented on GitHub (Jan 18, 2025): added the package version in the `package.json` as instead of `:workspace*` that was written.
Author
Owner

@arikchakma commented on GitHub (Jan 18, 2025):

How come, I can't reproduce it though? I am using it regularly on my local.

<!-- gh-comment-id:2599755923 --> @arikchakma commented on GitHub (Jan 18, 2025): How come, I can't reproduce it though? I am using it regularly on my local.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/maily.to#38
No description provided.