Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vite v5.0.11 building for production failed #1430

Closed
tamer73 opened this issue Jan 13, 2024 · 3 comments
Closed

vite v5.0.11 building for production failed #1430

tamer73 opened this issue Jan 13, 2024 · 3 comments

Comments

@tamer73
Copy link

tamer73 commented Jan 13, 2024

Jetstream Version

4.2.1

Jetstream Stack

Livewire

Laravel Version

10.3.2

PHP Version

8.3

Database Driver & Version

MySQL 8.0.28

Description

> build
> vite build

vite v5.0.11 building for production...
transforming (2) resources/css/app.cssthread '<unnamed>' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:416:13:
assertion `left == right` failed
  left: 2
 right: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

   Symfony\Component\Process\Exception\ProcessSignaledException 

  The process has been signaled with signal "6".

  at vendor/symfony/process/Process.php:434
    430▕             usleep(1000);
    431}
    432433if ($this->processInformation['signaled'] && $this->processInformation['termsig'] !== $this->latestSignal) {434▕             throw new ProcessSignaledException($this);
    435}
    436437return $this->exitcode;
    438}

      +16 vendor frames 

  17  artisan:35
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Steps To Reproduce

Strictly following the installation guide from:
https://jetstream.laravel.com/installation.html

until:
php artisan jetstream:install livewire --teams

produces the given issue

@jessarcher
Copy link
Member

jessarcher commented Jan 13, 2024

Hi @tamer73,

I'm afraid I can't reproduce this using the versions mentioned:

image

In any case, I can't see anything to indicate that it's an issue with Jetstream. The error message is coming from Rust, so it might be an issue with Rollup (the underlying tool behind vite build), which seems to have some Rust in its codebase.

@tamer73
Copy link
Author

tamer73 commented Jan 15, 2024

Hi @jessarcher

Thanks for taking your time. So would it be better to open this issue on vite-plugin? Sorry if i opened this issue on wrong place. Thought it would be the right place since this issue startet trying to install just like described on homepage of this project.

@crynobone
Copy link
Member

Duplicate of laravel/vite-plugin#281

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

No branches or pull requests

3 participants