From: Bernard S. <bs...@ti...> - 2024-06-15 17:04:35
|
Hello, It’s week-end time now but I had a Quick Look at your pastebin. Your npm, node installation seems ok and the errors you have I didn’t see before. May be some files are missing ? You should check (git status or diff) and rep-udate your project. Or contact me in private and I’ll have a look with you. Regards, Bernard > On 15 Jun 2024, at 17:23, Volker Wysk <po...@vo...> wrote: > > Hello, Bernard! > > Thanks for the link. I studied your page, but couldn't find any clues about what goes wrong on here. > > The call of "sh setup.sh" ends with printing this line: > > ERROR: "checkEnvironment" exited with 1. > > But I couldn't find an error message about what went wrong with "checkEnvironment". Maybe something npm related... > > Cheers, > Volker > > > Am Samstag, dem 15.06.2024 um 08:23 +0200 schrieb Bernard Sfez via TikiWiki-users: >> Hello Volker, >> >> Seems we all have our little fight to adapt to Tiki27 till we can enjoy the awesome improvements there is there. 😇 >> >> This is a work in progress (and it will be till Tiki stabilizes), but I wrote down how I solved the issues on my end: >> https://www.bernardsfez.com/article95-How-to-upgrade-to-Tiki-27 >> >> Hope this helps, >> Bernard >> >> >> >>> On 14 Jun 2024, at 17:47, Jonny Bradley via TikiWiki-users <tik...@li...> wrote: >>> >>>> >>>> On 14 Jun 2024, at 16:10, Volker Wysk <po...@vo...> wrote: >>>> >>>> Am Freitag, dem 14.06.2024 um 15:18 +0100 schrieb Jonny Bradley via >>>> TikiWiki-users: >>>>> Hi Volker >>>>> >>>>> Yes, Tiki now needs a build process if you're using it from git - the daily and release tarballs don't, so maybe try 27.0 RC1 - tarballs here: https://sourceforge.net/projects/tikiwiki/files/Tiki_27.x_Miaplacidus/27.0RC1/ >>>> >>>> Is this build process documented anywhere? (apart from >>>> https://dev.tiki.org/The-Tiki-27-plus-Build-System) >>>> >>>> I'm considering to try to build a wiki dump feature by myself. So I need the >>>> git version. >>>> >>>>> >>>>> Your setup seems to fail with: >>>>> >>>>>> • ERROR: "checkEnvironment" exited with 1. >>>>> >>>>> ...so that'll be the place to look for more info, but in the mean time, what is your environment? >>>> >>>> My environment is Ubuntu Linux 22.04 LTS with PHP 8.2.8, Node.js 21.7.3, npm >>>> 10.5.0, MariaDB 8.0.37. >>> >>> I'm not totally up to speed with all this but from package.json:43 it looks like your node and npm are in range - not sure how to check further what's broken, maybe ask (probably Benoit) on gitter? http://tiki.org/chat >>> >>> jb >>> >>> >>>> >>>>> Thanks for having a go, and thanks for the feedback! >>>> >>>> Bye, >>>> Volker >>>> >>>>> >>>>> jonny >>>>> >>>>> >>>>> >>>>>> On 14 Jun 2024, at 11:58, Volker Wysk <po...@vo...> wrote: >>>>>> >>>>>> 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 >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> TikiWiki-users mailing list >>>>>> Tik...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> TikiWiki-users mailing list >>>>> Tik...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users >>>> >>>> >>>> >>>> _______________________________________________ >>>> TikiWiki-users mailing list >>>> Tik...@li... >>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users >>> >>> >>> >>> >>> _______________________________________________ >>> TikiWiki-users mailing list >>> Tik...@li... <mailto:Tik...@li...> >>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users >> >> _______________________________________________ >> TikiWiki-users mailing list >> Tik...@li... <mailto:Tik...@li...> >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > _______________________________________________ > TikiWiki-users mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users |