# |
Jul 16th 2021, 18:15 |
kevin.pfeifer |
and which php version are you running it with? |
# |
Jul 16th 2021, 18:15 |
kevin.pfeifer |
PHPUnit 8.5 i guess |
# |
Jul 16th 2021, 18:14 |
tyler.adam.lazenby |
C:\xampp\htdocs\ezBusinessManager>composer run test > phpunit --colors=always Exception: syntax error, unexpected token "-", expecting "{" In [C:\xampp\htdocs\ezBusinessManager\vendor\phpunit\phpunit\src\TextUI\Command.php, line 98] Script phpunit --colors=always handling the test event returned with error code 1 |
# |
Jul 16th 2021, 18:04 |
tyler.adam.lazenby |
C:\composer\composer.bat run-script test > phpunit --colors=always [31mException:[0m syntax error, unexpected token "-", expecting "{" In [C:\xampp\htdocs\ezBusinessManager\vendor\phpunit\phpunit\src\TextUI\Command.php, line 98] Script phpunit --colors=always handling the test event returned with error code 1 |
# |
Jul 16th 2021, 18:04 |
tyler.adam.lazenby |
I am not sure what tis is |
# |
Jul 16th 2021, 18:04 |
tyler.adam.lazenby |
> phpunit --colors=always [31mException:[0m syntax error, unexpected token "-", expecting "{" |
# |
Jul 16th 2021, 18:04 |
tyler.adam.lazenby |
I am trying to get my pipeline working but I am running into an issue with phpunit |
# |
Jul 16th 2021, 11:14 |
paolo.bragagni |
i have to close 4 brackets of problems |
# |
Jul 16th 2021, 11:13 |
paolo.bragagni |
now back to the original problem (that I've forgot) |
# |
Jul 16th 2021, 11:12 |
paolo.bragagni |
|
# |
Jul 16th 2021, 11:09 |
kevin.pfeifer |
then your used php version has no sqlite PHP module installed |
# |
Jul 16th 2021, 11:09 |
paolo.bragagni |
DebugKit not enabled. You need to either install pdo_sqlite, or define the "debug_kit" connection name. |
# |
Jul 16th 2021, 11:08 |
paolo.bragagni |
I'm sorry :( |
# |
Jul 16th 2021, 11:03 |
kevin.pfeifer |
I’ll just insert the good old `have you tried turning it off and on again` meme here |
# |
Jul 16th 2021, 11:02 |
paolo.bragagni |
brrrr |
# |
Jul 16th 2021, 11:02 |
paolo.bragagni |
so probably is 'only' th machine |
# |
Jul 16th 2021, 11:01 |
kevin.pfeifer |
,:) |
# |
Jul 16th 2021, 11:01 |
paolo.bragagni |
and debug is there |
# |
Jul 16th 2021, 11:01 |
paolo.bragagni |
I've rebooted my old vm |
# |
Jul 16th 2021, 11:01 |
paolo.bragagni |
Ive change system |
# |
Jul 16th 2021, 11:00 |
paolo.bragagni |
UUUUU |
# |
Jul 16th 2021, 11:00 |
kevin.pfeifer |
is it loaded in you body or not? |
# |
Jul 16th 2021, 11:00 |
kevin.pfeifer |
but if you know have the toolbar.js |
# |
Jul 16th 2021, 10:59 |
kevin.pfeifer |
and leave pretty much everything else as it is |
# |
Jul 16th 2021, 10:59 |
kevin.pfeifer |
well you can only update the debug_kit version with `composer update cakephp/debug_kit` |
# |
Jul 16th 2021, 10:58 |
paolo.bragagni |
And I have "cakephp/debug_kit": "^4.4", in my require-dev composer.json |
# |
Jul 16th 2021, 10:56 |
paolo.bragagni |
I have vendor/cakephp/debug_kit/webroot/js/toolbar.js |
# |
Jul 16th 2021, 10:56 |
paolo.bragagni |
returned to my old project.. :S (no debug_kit even in 4.2.7) |
# |
Jul 16th 2021, 10:50 |
paolo.bragagni |
probably something change in bootstrp_u_i |
# |
Jul 16th 2021, 10:49 |
paolo.bragagni |
run update but messed everything |
# |
Jul 16th 2021, 10:49 |
paolo.bragagni |
it should |
# |
Jul 16th 2021, 10:47 |
kevin.pfeifer |
your composer.json should have `"cakephp/debug_kit": "^4.0",` |
# |
Jul 16th 2021, 10:47 |
kevin.pfeifer |
then you definitely should have that file `vendor/cakephp/debug_kit/webroot/js/toolbar.js` |
# |
Jul 16th 2021, 10:45 |
paolo.bragagni |
4.2.3 |
# |
Jul 16th 2021, 10:45 |
kevin.pfeifer |
on which cakephp version are you? |
# |
Jul 16th 2021, 10:45 |
kevin.pfeifer |
so you never ran `composer update` ? |
# |
Jul 16th 2021, 10:33 |
paolo.bragagni |
(never applied a single updates) |
# |
Jul 16th 2021, 10:33 |
paolo.bragagni |
trying to rebuild vendor |
# |
Jul 16th 2021, 10:29 |
kyle-burton |
Generate the plugin symlinks again |
# |
Jul 16th 2021, 10:25 |
kevin.pfeifer |
since you already said you don’t touch the vendor directory - how do you usually apply updates? |
# |
Jul 16th 2021, 10:16 |
paolo.bragagni |
lets try ? |