DEV Community

Discussion on: Jigsaw - Gerador de sites estáticos em PHP

Collapse
 
msamgan profile image
Mohammed Samgan Khan

@daianealves I tried this, but facing the following issue, I tried to get to git repo but the link is not working, else I would have raised an issue...

Collapse
 
daianealves profile image
Daiane Alves • Edited

You must first use jigsaw init to install jigsaw via composer

Try this: composer require tightenco/jigsaw

Collapse
 
msamgan profile image
Mohammed Samgan Khan

Done that already. not working

Thread Thread
 
daianealves profile image
Daiane Alves • Edited

Try this:
1- Create a new folder
2- Enter your folder: cd my-site
3- Type: composer require tightenco/jigsaw
4- ./vendor/bin/jigsaw init
5- ./vendor/bin/jigsaw build
6- ./vendor/bin/jigsaw server

Collapse
 
msamgan profile image
Mohammed Samgan Khan

λ jigsaw init

Fatal error: Uncaught Error: Class 'Illuminate\Container\Container' not found in C:\laragon\www\jigswa\vendor\tightenco\jigsaw\jigsaw-core.php:55
Stack trace:

0 C:\laragon\www\jigswa\vendor\tightenco\jigsaw\jigsaw(8): require_once()

1 {main}

thrown in C:\laragon\www\jigswa\vendor\tightenco\jigsaw\jigsaw-core.php on line 55