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

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #14 from Marcel de Rooy <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to