Skip to content

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

@karimmaassen

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

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