hybridly / hybridly

Solution to develop server-driven, client-rendered applications
https://hybridly.dev
MIT License
515 stars 41 forks source link

Vite server crash #171

Closed robin-dongbin closed 3 months ago

robin-dongbin commented 3 months ago

Describe the bug

When a vue file is modified, vite server crashes

I tried to locate the problem, but couldn't find the cause

All I know at the moment

Remove the following code and everything is fine

import type { HTMLAttributes } from 'vue'

defineProps<{ class? : HTMLAttributes['class'] }>()

Reproduction

https://github.com/robin-dongbin/laravel-skeleton

Steps to reproduce

Clone repository

Installing dependencies

npm run dev

The file is located in /resources/layouts/default.vue try modify content of console.log()

System information

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 348.61 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.4.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.1 - /opt/homebrew/bin/npm
    pnpm: 9.5.0 - /opt/homebrew/bin/pnpm
    bun: 1.1.18 - /opt/homebrew/bin/bun
  Browsers:
    Brave Browser: 126.1.67.123
    Chrome: 126.0.6478.127
    Edge: 126.0.2592.102
    Safari: 17.5
  npmPackages:
    hybridly: ^0.7.10 => 0.7.10

Used package manager

pnpm

Logs

No response

Validations

robin-dongbin commented 3 months ago

Once I looked into it, this seems to be a vite-plugin-vue issue. #428