Since version 6.3.5 we get the following error when building the theme. It actually works fine on our local machines, but we run the build process directly on the server. When we do this we get the following error :
bud build
internal/process/esm_loader.js:74
internalBinding(‘errors’).triggerUncaughtException(
^
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:path/posix
at new NodeError (internal/errors.js:322:7)
at Loader.builtinStrategy (internal/modules/esm/translators.js:285:11)
at new ModuleJob (internal/modules/esm/module_job.js:63:26)
at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
at async ModuleWrap. (internal/modules/esm/module_job.js:78:21)
at async Promise.all (index 1)
at async link (internal/modules/esm/module_job.js:83:9) {
code: ‘ERR_UNKNOWN_BUILTIN_MODULE’
}
Any suggestions?