[Koha-bugs] [Bug 32212] Add separate Bootstrap 4 node module for the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 16 00:03:45 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32212

--- Comment #5 from David Nind <david at davidnind.com> ---
(In reply to David Cook from comment #4)
> Anything particular to look for in this one?
> 
> Is something clearly broken without it which is fixed with it?

See bug 25267 - without this, you can't rebuild the CSS for the OPAC.

So, before applying the patch:
1. yarn install
2. yarn build --view opac
3. Result - you get an error:

yarn build --view opac
yarn run v1.22.19
$ node_modules/.bin/gulp build --view opac
[22:33:59] Using gulpfile /kohadevbox/koha/gulpfile.js
[22:33:59] Starting 'build'...
Error in plugin 'sass'
Message:
    koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss
Error: File to import not found or unreadable:
../../../../../node_modules/bootstrap/scss/custom-forms.
        on line 52 of koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss
        from line 1 of koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
>> @import "../../../../../node_modules/bootstrap/scss/custom-forms";

   ^

[22:33:59] Finished 'build' after 91 ms
Done in 2.42s.

4. Apply the patch.
5. Repeat steps 1 and 2.
6. Result - OPAC CSS is rebuilt successfully without any errors.

Also, see the discussion on IRC
http://irc.koha-community.org/koha/2022-11-15#i_2462075

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list