Skip to content

npm run dev/build fail after boost install #85

@Jaiieq

Description

@Jaiieq

Laravel Package Version

1.0.5

Laravel Version

12.21.0

PHP Version

8.4.8

Database Driver & Version

mysql Ver 8.0.42-0ubuntu0.24.04.1 for Linux on x86_64 ((Ubuntu))

Description

npm run build & npm run dev both fail after adding the boost pacakge and running the artisan install command.

Steps To Reproduce

As noted in the description, I ran composer require laravel/boost --dev then pa boost:install (I have artisan aliased). Then when trying to run npm run dev or npm run build they both fail. Running either of the previous npm commands worked fine before running pa boost:install. See attached screenshot. I have no idea what boost would have done to cause this.

Image

And here is when running npm run dev

Image

And here is the app.css, since it is referenced in the npm run dev error

@import 'tailwindcss';
@import '../../vendor/livewire/flux/dist/flux.css';

@custom-variant dark (&:where(.dark, .dark *));

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source "../**/*.blade.php";
@source "../**/*.js";
@source "../**/*.vue";

@theme {
    --font-sans: Inter, sans-serif;
    --color-cardinal-red: #ad0000;
    --breakpoint-max-screen: 1930px;

    --color-accent: var(--color-blue-500);
    --color-accent-content: var(--color-blue-600);
    --color-accent-foreground: var(--color-white);
}

/* @theme {
    --color-accent: var(--color-blue-500);
    --color-accent-content: var(--color-blue-600);
    --color-accent-foreground: var(--color-white);
  } */
  
@layer theme {
    .dark {
        --color-accent: var(--color-blue-500);
        --color-accent-content: var(--color-blue-400);
        --color-accent-foreground: var(--color-white);
    }
}

/* Tailwind 4 make the default cursor, this makes it back to a pointer */
@layer base {
    button:not(:disabled),
    [role="button"]:not(:disabled) {
      cursor: pointer;
    }
   }
  
*:disabled, .disabled {
    cursor: not-allowed !important;
}
  
dialog::backdrop {
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.7);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions