Skip to content

[Bug?]: Failed to load url ~/entry-server.tsx (trying to find .tsx instead of .jsx)聽#2095

Closed

Description

@karimmaassen

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 馃槸

I'm running a clean Solid Start project.

{ "name": "example-with-tailwindcss", "type": "module", "scripts": { "dev": "vite dev", "build": "vite build", "start": "vite start", "preview": "vite preview" }, "dependencies": { "@solidjs/router": "^0.15.0", "@solidjs/start": "2.0.0-alpha.2", "solid-js": "^1.9.5", "vite": "^7.0.0", "nitro": "3.0.1-alpha.2" }, "devDependencies": { "@tailwindcss/vite": "^4.0.7", "tailwindcss": "^4.0.7" }, "engines": { "node": ">=22" } }

However, running npm run dev, gives me an error:

Error: Failed to load url ~/entry-server.tsx (resolved id: /Users/.../src/entry-server.tsx). Does the file exist?

Expected behavior 馃

Its should try and locate entry-server.jsx instead of .tsx

Activity

  1. karimmaassen commented on Mar 9, 2026

    @karimmaassen
    Author

    I created a new Solid-Start project with pnpm create solid. It created a 2.0 alpha project. Maybe that's an issue?

  2. karimmaassen commented on Mar 9, 2026

    @karimmaassen
    Author

    Issue found. It's looking for entry-server.tsx (typescript). I set the project as using .jsx instead.

  3. changed the title [-][Bug?]: Failed to load url ~/entry-server.tsx[/-] [+][Bug?]: Failed to load url ~/entry-server.tsx (trying to find .tsx instead of .js)[/+] on Mar 9, 2026
  4. changed the title [-][Bug?]: Failed to load url ~/entry-server.tsx (trying to find .tsx instead of .js)[/-] [+][Bug?]: Failed to load url ~/entry-server.tsx (trying to find .tsx instead of .jsx)[/+] on Mar 9, 2026
  5. samualtnorman commented on Mar 12, 2026

    @samualtnorman
    Contributor

    you'll probably want to file this in https://github.com/solidjs/templates

  6. karimmaassen commented on Mar 13, 2026

    @karimmaassen
    Author

    Raised this exact same issue over at solidjs-community/solid-cli -> solidjs-community/solid-cli#73

  7. birkskyum commented on Jul 16, 2026

    @birkskyum
    Member

    closed by #2090. (release as @solidjs/start version 2.0.0-beta.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions