-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/main.ts:2:28 - error TS2307: Cannot find module 'ep_etherpad-lite/node/types/MapType.ts' or its corresponding type declarations. #6672
Comments
same here on debian bookworm (12) with node v18.19.0:
|
oops! for me it tuned out I had accidentally delete files in |
This question has been confusing me for a week. I have just started working on this project. |
How did you download Etherpad? |
|
Clone the repository: git clone -b master . and it is ui/src/main.ts
$ pnpm run build:etherpad
vite v5.4.7 building for production...
src/main.ts:2:28 - error TS2307: Cannot find module 'ep_etherpad-lite/node/types/MapType.ts' or its corresponding type declarations. 2 import {MapArrayType} from "ep_etherpad-lite/node/types/MapType.ts"; Found 1 error in src/main.ts:2 /opt/etherpad-lite/ui: same problem . |
I did that and it worked. I have no idea why the MapType is missing for you. It should be on the system in the mentioned folder.
|
i know it . thank you . |
Describe the bug
src/main.ts:2:28 - error TS2307: Cannot find module 'ep_etherpad-lite/node/types/MapType.ts' or its corresponding type declarations.
To Reproduce
Steps to reproduce the behavior:
Server (please complete the following information):
node --version
):Node.js v20.17.0npm --version
):npm@10.8.2The text was updated successfully, but these errors were encountered: