Skip to content

Error building translations #106

@userkilled

Description

@userkilled

@zyrouge/symphony-cli@0.0.0 i18n:build /home/symphony
ts-node ./cli/i18n/build.ts

/home/symphony/node_modules/yaml/dist/compose/composer.js:33
if (prelude[i + 1]?.[0] !== '#')
^

SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/symphony/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/symphony/node_modules/yaml/dist/index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:778:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @zyrouge/symphony-cli@0.0.0 i18n:build: ts-node ./cli/i18n/build.ts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @zyrouge/symphony-cli@0.0.0 i18n:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


To be honest, I don’t understand anything. What the problem is. It is possible that the version is not suitable, I have npm v 6.14.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: i18nRelated to translationstype: questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions