[Tiki-users] Errors with setup.sh in Tiki 27 RC1 from git
Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Fri, 14 Jun 2024 12:58:12 +0200
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <[email protected]> |
Hi.
I've followed these pages:
https://doc.tiki.org/Tiki27
https://dev.tiki.org/The-Tiki-27-plus-Build-System
It says that Node.js is now needed for running setup.sh. I've installed the
right version (from the snap) and get:
desktop ~ $ node --version
v21.7.3
desktop ~ $ npm --version
10.5.0
I'm still unable to run setup.sh. Chosing "b", I got a long list of errors
like this:
Class Text_Wiki_Render_Tiki_AllTests located in
./vendor/pear/text_wiki_mediawiki/tests/Text_Wiki_Render_Tiki_Tests.php
does not comply with psr-0 autoloading standard. Skipping.
And like this:
PHP Warning:
file_get_contents(vendor/thomaspark/bootswatch/dist/materia/bootstrap.min.cs
s): Failed to open stream: No such file or directory in
/var/www/html/tikisp/vendor_bundled/vendor/jason-
munro/cypht/scripts/config_gen.php on line 336
I've uploaded the full log (setup.log) to Pastebin:
https://pastebin.com/T3XZMQVP
Near the end there is reported a (different?) issue:
---
Running node install and build
+ npm install --clean-install --engine-strict
removed 40 packages, and audited 409 packages in 2s
88 packages are looking for funding
run `npm fund` for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
---
I've done this ("npm audit fix") and it looks like that fixed the issue. But
now I get a lot of errors again, when chosing "b":
$ sh setup.sh -p php8.2 2>&1| tee /tmp/setup1.log
I've uploaded the setup1.log to Pastebin as well:
https://pastebin.com/c65vaMd3
Cheers,
Volker