I did the example from the docs:
yarn add @vercel/analytics
During install get warning " > @vercel/analytics@0.1.3" has unmet peer dependency "react@^16.8||^17||^18".
And after installing and putting in _app.tsx:
import { Analytics } from '@vercel/analytics/react';
Hello,
I did the example from the docs:
yarn add @vercel/analytics
During install getwarning " > @vercel/analytics@0.1.3" has unmet peer dependency "react@^16.8||^17||^18".
And after installing and putting in _app.tsx:I got error:
Here is my package.json: