Skip to content

New install not working (postcss incorrectly configured) #138

@benshawuk

Description

@benshawuk

Steps to reproduce (follow instructions on this GitHub page):

  • set up project with: laravel new
  • follow install instructions:
composer require livewire/livewire laravel-frontend-presets/tall
php artisan ui tall --auth
npm install
npm run dev

Then after running npm dev:

[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: /Users/myname/Documents/laravel/talltest): [Failed to load PostCSS config] Failed to load PostCSS config (searchPath: /Users/myname/Documents/laravel/talltest): [ReferenceError] module is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/Users/myname/Documents/laravel/talltest/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.

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