redotvideo / revideo

Create Videos with Code
https://re.video
MIT License
2.58k stars 87 forks source link

Error when running npm run revideo:editor or npm run revideo:serve in Revideo project #324

Open medoer opened 1 month ago

medoer commented 1 month ago

I created a new Next.js project using Revideo with the command: npm init @revideo@latest and select a drag and drop example

After that, when I try to run either of the following commands:

npm run revideo:editor npm run revideo:serve I encounter the following error:

Internal server error: Failed to resolve import "./revideo/project.ts" from "virtual:editor". Does the file exist? It seems that the file ./revideo/project.ts should be ./revideo/project.tsx.