Skip to content
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

JS support #305

Open
hkonsti opened this issue Sep 25, 2024 · 0 comments
Open

JS support #305

hkonsti opened this issue Sep 25, 2024 · 0 comments

Comments

@hkonsti
Copy link
Member

hkonsti commented Sep 25, 2024

I think there are some issues when writing Revideo code with Javascript instead of Typescript.

Discord discussion:
https://discord.com/channels/1124830896143474770/1222126467329298493/1288463808288915582

Could not resolve entry module "./src/project.ts?project".
Error building project: Error [RollupError]: Could not resolve entry module "./src/project.ts?project"

also i am not able to open the visual editor in js, I am getting this error

4:58:09 PM [vite] Internal server error: Failed to resolve import "./src/project.ts?project" from "virtual:editor". Does the file exist? 
  Plugin: vite:import-analysis
  File: virtual:editor:2:22
  1  |  import {editor} from '@revideo/ui';
  2  |  import project from './src/project.ts?project';
     |                       ^
  3  |  editor(project);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant