# Error building assets

**URL:** <https://talk.getindico.io/t/error-building-assets/4596>\
**Category:** Development\
**Created:** [October 11, 2026, 6:02pm UTC](https://talk.getindico.io/t/error-building-assets/4596 "2026-10-11T18:02:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lecabori](https://talk.getindico.io/user_avatar/talk.getindico.io/lecabori/32/835_2.png) [@lecabori](https://talk.getindico.io/u/lecabori)\
**Post date:** [October 11, 2026, 6:02pm UTC](https://talk.getindico.io/t/error-building-assets/4596/1 "2026-10-11T18:02:49Z")

</div>

Hi

I have just pulled the latest updates from Indico and updated my local development site. However when I tried to build the assets I get these errors:

```auto
13 WARNINGS in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)

ERROR in ./js/utils/l10n.js
Module build failed (from ../../../node_modules/babel-loader/lib/index.js):
TypeError: /Users/me/dev/indico/src/indico/web/client/js/utils/l10n.js: preval.macro: Cannot read properties of undefined (reading 'firstDay') Learn more: https://www.npmjs.com/package/preval.macro
    at Object.<anonymous> (/Users/me/dev/indico/src/indico/web/client/js/utils/l10n.js:37:18)
    at Module._compile (node:internal/modules/cjs/loader:1956:14)
    at requireFromString (/Users/me/dev/indico/src/node_modules/require-from-string/index.js:28:4)
    at requireFromString (/Users/me/dev/indico/src/node_modules/babel-plugin-preval/dist/helpers.js:35:47)
    at getReplacement (/Users/me/dev/indico/src/node_modules/babel-plugin-preval/dist/helpers.js:58:18)
    at asTag (/Users/me/dev/indico/src/node_modules/babel-plugin-preval/dist/macro.js:39:51)
    at /Users/me/dev/indico/src/node_modules/babel-plugin-preval/dist/macro.js:24:7
    at Array.forEach (<anonymous>)
    at prevalMacros (/Users/me/dev/indico/src/node_modules/babel-plugin-preval/dist/macro.js:19:22)
    at macroWrapper (/Users/me/dev/indico/src/node_modules/babel-plugin-macros/dist/index.js:57:12)
    at applyMacros (/Users/me/dev/indico/src/node_modules/babel-plugin-macros/dist/index.js:226:14)
    at ImportDeclaration (/Users/me/dev/indico/src/node_modules/babel-plugin-macros/dist/index.js:110:28)
    at NodePath._call (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/path/context.js:47:20)
    at NodePath.call (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/path/context.js:37:18)
    at NodePath.visit (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/path/context.js:83:31)
    at TraversalContext.visitQueue (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/context.js:89:16)
    at TraversalContext.visitMultiple (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/context.js:61:17)
    at TraversalContext.visit (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/context.js:110:19)
    at traverseNode (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/traverse-node.js:22:17)
    at traverse (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/index.js:52:34)
    at NodePath.traverse (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/path/index.js:119:24)
    at PluginPass.Program (/Users/me/dev/indico/src/node_modules/babel-plugin-macros/dist/index.js:91:18)
    at newFn (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/visitors.js:160:14)
    at NodePath._call (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/path/context.js:47:20)
    at NodePath.call (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/path/context.js:37:18)
    at NodePath.visit (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/path/context.js:83:31)
    at TraversalContext.visitQueue (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/context.js:89:16)
    at TraversalContext.visitSingle (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/context.js:65:19)
    at TraversalContext.visit (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/context.js:112:19)
    at traverseNode (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/traverse-node.js:22:17)
    at traverse (/Users/me/dev/indico/src/node_modules/@babel/traverse/lib/index.js:52:34)
    at transformFile (/Users/me/dev/indico/src/node_modules/@babel/core/lib/transformation/index.js:82:31)
    at transformFile.next (<anonymous>)
    at run (/Users/me/dev/indico/src/node_modules/@babel/core/lib/transformation/index.js:24:12)
    at run.next (<anonymous>)
    at transform (/Users/me/dev/indico/src/node_modules/@babel/core/lib/transform.js:22:33)
    at transform.next (<anonymous>)
    at step (/Users/me/dev/indico/src/node_modules/gensync/index.js:261:32)
    at /Users/me/dev/indico/src/node_modules/gensync/index.js:273:13
    at async.call.result.err.err (/Users/me/dev/indico/src/node_modules/gensync/index.js:223:11)
 @ ./js/custom_elements/ind_date_picker.js 14:0-93 756:21-41 764:4-19 821:35-52
 @ ./js/custom_elements/index.js 10:0-27
 @ ./js/index.js 13:0-27

webpack 5.94.0 compiled with 1 error and 13 warnings in 15847 ms

```

Also when I hover over the page header menu the tooltips are not showing, neither is the dropdown menu for “Change theme”:

![image](https://talk.getindico.io/uploads/default/original/2X/2/2c835b640f5fc98c255e3dd9f48e7b076eabb310.png)

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [October 11, 2026, 6:04pm UTC](https://talk.getindico.io/t/error-building-assets/4596/2 "2026-10-11T18:04:51Z")

</div>

`npm ci` - maybe some JS dep is (very?) outdated

---

<div class="post-metadata">

**Author:** ![lecabori](https://talk.getindico.io/user_avatar/talk.getindico.io/lecabori/32/835_2.png) [@lecabori](https://talk.getindico.io/u/lecabori)\
**Post date:** [October 11, 2026, 6:09pm UTC](https://talk.getindico.io/t/error-building-assets/4596/3 "2026-10-11T18:09:55Z")

</div>

Yes, I get this from runing npm ci:

```auto
src % npm ci
npm warn skipping integrity check for git dependency https://indico@github.com/indico/qTip2.git
npm warn deprecated npmlog@5.0.1: This package is no longer supported.
npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm warn deprecated react-leaflet-markercluster@2.0.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated redux-devtools-extension@2.13.9: Package moved to @redux-devtools/extension.
npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm warn deprecated gauge@3.0.2: This package is no longer supported.
npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm warn deprecated stylelint-stylistic@0.4.5: This package has been deprecated in favor of @stylistic/stylelint-plugin
npm warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 1489 packages, and audited 1490 packages in 55s

295 packages are looking for funding
  run `npm fund` for details

50 vulnerabilities (4 low, 19 moderate, 26 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

```

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [October 11, 2026, 6:10pm UTC](https://talk.getindico.io/t/error-building-assets/4596/4 "2026-10-11T18:10:56Z")

</div>

Looks fine on a first glance. I guess your node version is also not totally ancient?

---

<div class="post-metadata">

**Author:** ![lecabori](https://talk.getindico.io/user_avatar/talk.getindico.io/lecabori/32/835_2.png) [@lecabori](https://talk.getindico.io/u/lecabori)\
**Post date:** [October 11, 2026, 6:13pm UTC](https://talk.getindico.io/t/error-building-assets/4596/5 "2026-10-11T18:13:59Z")

</div>

```auto
((env) ) me@PI src % node -v
v26.10.0

```

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [October 11, 2026, 6:16pm UTC](https://talk.getindico.io/t/error-building-assets/4596/6 "2026-10-11T18:16:29Z")

</div>

never tried on node v26, can you check on v24?

---

<div class="post-metadata">

**Author:** ![lecabori](https://talk.getindico.io/user_avatar/talk.getindico.io/lecabori/32/835_2.png) [@lecabori](https://talk.getindico.io/u/lecabori)\
**Post date:** [October 11, 2026, 6:35pm UTC](https://talk.getindico.io/t/error-building-assets/4596/7 "2026-10-11T18:35:11Z")

</div>

that’s better now, thanks!

```auto
LOG from webpack.Compilation.ModuleProfile
<i> 2637 ms resolve to new modules
<w> | 6092 ms build modules > 162 x javascript/auto with ../../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[2].oneOf[2].use[0]!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[2].use[1]!../../../node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].oneOf[2].use[2]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[2].use[3]!../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[2].use[4]
<e> 11029 ms build modules
+ 267 hidden lines

13 WARNINGS in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack 5.94.0 compiled with 13 warnings in 16889 ms

```

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [October 12, 2026, 3:09pm UTC](https://talk.getindico.io/t/error-building-assets/4596/8 "2026-10-12T15:09:42Z")

</div>

This is now fixed in master:

> <https://github.com/indico/indico/pull/7793>
>
> \- Use \`getWeekInfo()\` and only fall back to \`weekInfo\` if needed, e.g.
> on node… 22; the accessor has been removed in node 26
> \- Explicitly enable/disable postinstall scripts

---

<div class="post-metadata">

**Author:** ![lecabori](https://talk.getindico.io/user_avatar/talk.getindico.io/lecabori/32/835_2.png) [@lecabori](https://talk.getindico.io/u/lecabori)\
**Post date:** [October 12, 2026, 4:02pm UTC](https://talk.getindico.io/t/error-building-assets/4596/9 "2026-10-12T16:02:45Z")

</div>

Thank you! I’ve pulled and rebuilt it with Node 26 and it worked fine.

Cheers!
