maelstrom-cms / toolkit

A CMS Toolkit built on Laravel and React
https://www.maelstrom-cms.com
61 stars 6 forks source link

[Bug] Problem Install Maelstrom Laravel 8 #14

Open lordjack opened 3 years ago

lordjack commented 3 years ago

Describe the bug I made a clean installation with Laravel 8 and the installation of authentication with Breeze

I was following the site tutorial below, I noticed that it has some outdated functions https://www.maelstrom-cms.com/getting-started/installing.html#fresh-install

So I found in GitHub the example used in the video, it would be good to upgrade on the site. https://github.com/maelstrom-cms/documentation/blob/master/examples/blog.md

However, when trying to install, it presented the errors below.

When you try to install, and run the "NPM RUN DEV" command displayed the error below.

image

Then I moved to mix.js("resources/js/maelstrom.js", "public/js");

And then presented the following error.

image

So I can not install and use Maelstrom.

Could anyone help?

OwenMelbz commented 3 years ago

Hi,

Must admit, we've not tested with Laravel 8 yet, but this looks more like an issue with Laravel Mix 6 I'm guessing.

You can actually compile Maelstrom however you like, using whatever build chain you want as long as it supports PostCSS (tailwind) and React - so the documentation is more of a guide than a copy/paste.

I'd first suggest checking the upgrade guide for Mix https://laravel-mix.com/docs/6.0/upgrade

Seeing if that helps out at all - are sure to delete your node_modules folder first to make sure it installs everything again.