You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you build with mock of i18n (langs: true) all blocks should be dependent on i18n (block i18n or elem i-bem__i18n).
If block has no dependency on i18n then assembly fails.
Error: Core of i18n is not found!
at Object.parse (/Users/blond/projects/bem-core/node_modules/enb-bem-i18n/lib/keysets.js:70:15)
at null.<anonymous> (/Users/blond/projects/bem-core/node_modules/enb-bem-i18n/techs/i18n.js:66:38)
at Array.<anonymous> (/Users/blond/projects/bem-core/node_modules/enb/node_modules/vow/lib/vow.js:202:39)
at Immediate.callFns [as _onImmediate] (/Users/blond/projects/bem-core/node_modules/enb/node_modules/vow/lib/vow.js:462:35)
at processImmediate [as _immediateCallback] (timers.js:367:17)
It is not convenient if your project has only some i18n blocks.
The text was updated successfully, but these errors were encountered:
И как же теперь быть? https://github.com/bem/bem-core/tree/v2.8.0 - развернул, поставил языки [ru, en], аквтивировал в опциях i18n.
Ловлю эту ошибку - "Core of i18n is not found!", пробовал использовать пример из - https://github.com/bem/bem-bl/tree/dev, подсмотрел тут реализацию bemdecl, сделал также - не помогло.
Пользовался enb-bh.
Использовал enb-bh-i18n 1.0.0-beta2, всё равно данная ошибка.
Задача использовать ланг файлы в bh шаблонах блоков для перевода интерфейса. Как можно разобраться с данной ошибкой, если не всем блокам нужен перевод?
When you build with mock of i18n (
langs: true
) all blocks should be dependent oni18n
(blocki18n
or elemi-bem__i18n
).If block has no dependency on
i18n
then assembly fails.It is not convenient if your project has only some i18n blocks.
The text was updated successfully, but these errors were encountered: