Skip to content

Commit b694dea

Browse files
authored
docs: Include reference to minimum node version
Addressing a comment in #166 this change makes sure users are aware of a minimum version of node and how to find out which one is currently required.
1 parent 4472480 commit b694dea

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,13 @@ all the imperative parts for you.
6363
npm install --save @researchgate/react-intersection-observer
6464
```
6565

66-
Usage:
66+
> :warning: **Please make sure you have the minimum node version installed** (as defined [in the package.json](https://github.com/researchgate/react-intersection-observer/blob/master/package.json#L6-L7))
67+
>
68+
> Otherwise you run into this build error:
69+
>
70+
> `The engine "node" is incompatible with this module. Expected version ">=10.18.1". Got "10.15.3"`
71+
72+
## Usage
6773

6874
```jsx
6975
import React from 'react';

0 commit comments

Comments
 (0)