[Koha-bugs] [Bug 35079] Add option to gulp tasks po:update and po:create to control if POT should be built

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 13 11:54:26 CET 2023


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #14 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #7)
> Note that if you see:
>   Error: Cannot find module 'stream/promises'
> 
> It means that you need a more recent version of node.
> 
> I was using v14 on my host (which I don't usually use for that), and it
> needs at least 15.
> 
> We have v18 in ktd.

I have version 18
nodejs/nodistro,now 18.18.2-1nodesource1 amd64 [installed]

But I still get this stream/promises error after build-resources tries to run
gulp build && gulp build --view opac

Error: Cannot find module 'stream/promises'
Require stack:
- /usr/share/koha/gulpfile.js
- /usr/share/koha/node_modules/gulp-cli/lib/shared/require-or-import.js
- /usr/share/koha/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js
- /usr/share/koha/node_modules/gulp-cli/index.js
- /usr/share/koha/node_modules/gulp/bin/gulp.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:931:15)
    at Function.Module._load (internal/modules/cjs/loader.js:774:27)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at Object.<anonymous> (/usr/share/koha/gulpfile.js:11:16)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Module.require (internal/modules/cjs/loader.js:1003:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/koha/gulpfile.js',
    '/usr/share/koha/node_modules/gulp-cli/lib/shared/require-or-import.js',
    '/usr/share/koha/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js',
    '/usr/share/koha/node_modules/gulp-cli/index.js',
    '/usr/share/koha/node_modules/gulp/bin/gulp.js'
  ]
}

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


More information about the Koha-bugs mailing list