cennznet / cennznet/typescript-react-app-cennznet-dApp-template

Incompatible with Node v16.13.1 when running yarn

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

Description

I just got the latest node and yarn, and got the following errors when running yarn. Can we please fix it?

**Steps to reproduce:**

- Install Node.js v16.13.1LTS
- Install yarn
- Clone the repo
- Run `yarn`

**Error message**
```
yarn install v1.22.17
warning ../../../package.json: No license field
info No lockfile found.
[1/5] 🔍 Validating package.json...
error typescript-react-app-cennznet-dApp-template@0.1.0: The engine "node" is incompatible with this module. Expected version "v14". Got "16.13.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting package.json for the Node engine declaration that rejects v16.13.1, then reproduce the failure with Node.js v16.13.1 and yarn. Done means the declared compatibility matches the supported Node version and running yarn completes without the engine error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, react, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.