Skip to content

Not able to simulate a project with lit+vite #3379

@Rajdeepc

Description

@Rajdeepc

Description of Bug

Provide a concise description of your bug and your project link (if applicable).

When trying to simulate the below project link on ios simulator running safari getting the below error

Link to try in Simulator: https://bolt.new/~/vitejs-vite-tuqj81dt

Error

[2m5:00:32 PM�[22m [31m�[1m[vite][22m�[39m [31mInternal server error: The service was stopped�[39m
  Plugin: [35mvite:esbuild�[39m
  File: [36m/home/projects/vitejs-vite-tuqj81dt/src/my-element.ts�[39m:31:1541732
      at  (<anonymous>)
      at  (<anonymous>)
      at afterClose (<anonymous>)
      at emit (node:events:30:11155)
      at endReadableNT (node:internal/streams/readable:230:10635)
      at processTicksAndRejections (node:internal/process/task_queues:196:1068)
      at  (https://vitejsvitetuqj81dt-wusl.w-corp-staticblitz.com/blitz.6ba59070.js:31:296100)
      at _0x1f50ad (https://vitejsvitetuqj81dt-wusl.w-corp-staticblitz.com/blitz.6ba59070.js:31:296172)
      at _0x28c97c (https://vitejsvitetuqj81dt-wusl.w-corp-staticblitz.com/blitz.6ba59070.js:31:545056)
      at finish (https://vitejsvitetuqj81dt-wusl.w-corp-staticblitz.com/blitz.6ba59070.js:31:541777)

Steps to Reproduce

  1. Go to https://bolt.new/~/vitejs-vite-tuqj81dt
  2. Open the link in iOS Simulator
  3. Crash
  4. See error above

Expected Behavior

A clear and concise description of what you expected to happen.
Should be able to render the preview without errors

Screenshots/Screencast

If applicable, add screenshots to help explain your problem.

Image

Additional Context/Questions
Add any other context or questions regarding this bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions