cyntler / cyntler/react-doc-viewer

My node version is 16.20 and cannot be upgraded. Which version should I use?

Open
#203 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
481
Forks
147
PR merge metrics
No merged PRs in 30d

Description

> λ yarn add @cyntler/react-doc-viewer
> yarn add v1.22.19
> warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
> [1/5] Validating package.json...
> [2/5] Resolving packages...
> warning Lockfile has incorrect entry for "react@16.x". Ignoring it.
> warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-environment-jsdom-fourteen > @jest/environment > @jest/transform > jest-haste-map > fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
> [3/5] Fetching packages...
> error pdfjs-dist@3.11.174: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.0"
> error Found incompatible module.
> info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

>
> λ node -v
> v16.20.0

I found out that you upgraded the node last year, but I am unable to determine the NPM package version before the node upgrade.
[Update node js version to 18](https://github.com/cyntler/react-doc-viewer/commit/c778f307958f9d1f701ffe9f45db34ba143743ab)

My node version is 16.20 and cannot be upgraded. Which version should I use?
Please.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.