Hi,
although I am doing everything according to the documentation, OOJS-UI throws errors at me. To reproduce:
- Install nvm, nodejs 16.19.0 (lts/gallium) and grunt-cli
- git clone repo https://github.com/wikimedia/oojs-ui to html root/resources/lib
- go to oojs-ui
- npm install
- grunt build
- npm run-script demos
Everything works up until here, but when I clone a template with:
- grunt add-theme --name=pf2e --template=wikimediaui
- npm run-script demos
And I go to the /resources/lib/oojs-ui/demos/index.html, when clicking the name of my template, the screen stays white. When clicking on php and then on my template, it throws the following error: "Fatal error: Uncaught Error: Class 'OOUI\pf2eTheme' not found in /var/www/html/resources/lib/oojs-ui/demos/demos.php:23 Stack trace: #0 {main} thrown in /var/www/html/resources/lib/oojs-ui/demos/demos.php on line 23"
I do not know what to do since I am keeping 100% to the docs. Can anyone help me?
Thank you very much in advance