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

Import error, can't find files: /index.html /index.ts #1648

Closed
1 task done
Bill234 opened this issue Dec 4, 2024 · 1 comment
Closed
1 task done

Import error, can't find files: /index.html /index.ts #1648

Bill234 opened this issue Dec 4, 2024 · 1 comment

Comments

@Bill234
Copy link

Bill234 commented Dec 4, 2024

Describe the bug

I am using CRA with typescript. the index.html is in ./public and the index.ts is in ./src which i thinks is pretty standard for create react app. If i move these files to the root it is fine. I have played around with a lot of different config. also there does not seem to be any way to get more error reporting. from web search it seems to have cropped up a few times, but do not see any resolution. i am using your embed api to make the project

Link to the blitz that caused the error

https://ygdtqq--run.stackblitz.io

Steps to reproduce

use embed api to load a standard create react app in typescript into the editor.
preview

Expected behavior

not get the error, the project to run

Parity with Local

Screenshots

Screenshot 2024-12-04 115900

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

@Bill234
Copy link
Author

Bill234 commented Dec 4, 2024

I tried downloading the project from stackblitz and building it locally and it had some problems, so this is what caused the problem. however not seeing any errors apart from the spurious one above makes it very hard to know what was going on.

@Bill234 Bill234 closed this as completed Dec 4, 2024
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