Skip to content

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

@Bill234

Description

@Bill234

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions