[Koha-bugs] [Bug 15522] New interface for revamped circulation rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 27 02:24:07 CET 2020


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

--- Comment #97 from Lari Taskula <lari.taskula at hypernova.fi> ---
(In reply to Lari Taskula from comment #87)
> Created attachment 101919 [details] [review]
> Bug 15522: Add JS build pipeline
> 
> This is not directly testable, but can be either used through the
> Makefile:
> 
> $ make js-build
> 
> (This will automatically install all dependencies.)
> 
> Or by manually installing yarn:
> 
> $ sudo apt install nodejs npm
> $ sudo npm install -g yarn
> $ yarn install
> $ yarn build
> 
> (There is also `make js-watch` and `yarn watch`, which automatically
> recompile when files are changed.)
> 
> JD note: the make rule does not work
> 
> Signed-off-by: Lisette Scheer <lisettes at latahlibrary.org>

I had issues with this on Ubuntu 18.04, especially the step "yarn build".

koha at koha:~/Koha$ yarn build
yarn run v1.22.4
$ node_modules/.bin/gulp build
You are missing required Node modules; run `npm install`.

I did some digging and found a more detailed message:
ReferenceError: primordials is not defined

It worked when I explicitly chose to install node version 10.

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


More information about the Koha-bugs mailing list