diplodoc-platform/cli

Very old nodejs engine

Closed this issue · 1 comments

xdan commented

When installing your package it requires very old nodejs 14

npm i @doc-tools/docs
EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@doc-tools/docs@3.25.0',
npm WARN EBADENGINE   required: { node: '14.*' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }

This version of nodejs is no longer lts, as a result, some packages are simply not installed and an error occurs during build

./node_modules/.bin/yfm --input=./dist/markdown-docs --output=./dist/docs/
 Error: Cannot find module '@doc-tools/transform/lib/plugins/meta'
14.98 Require stack:
14.98 - /usr/src/app/node_modules/@doc-tools/yfm2xliff/lib/cjs/index.js
14.98 - /usr/src/app/node_modules/@doc-tools/docs/build/index.js
moki commented

@xdan we moved all of our packages to the new scope @diplodoc on npm and @diplodoc-platform on github.

hence to receive up to date versions of cli please install "docs" from https://www.npmjs.com/package/@diplodoc/cli

i.e. npm i @diplodoc/cli