I have a new Russian .po file and need to generate the .json files. When I ran the command, npm run i18n:create-json, I get the following error:
❌ ReferenceError: chalk is not defined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! alps-gutenberg-blocks@1.6.1 i18n:create-json: `node devtools/runner.js i18n:create-json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the alps-gutenberg-blocks@1.6.1 i18n:create-json script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I have a new Russian
.po
file and need to generate the.json
files. When I ran the command,npm run i18n:create-json
, I get the following error: