FilipChalupa / react-use-pwa-install

https://www.npmjs.com/package/react-use-pwa-install
ISC License
5 stars 0 forks source link

Update React version #1

Closed KarlBaumann closed 3 years ago

KarlBaumann commented 3 years ago
image
FilipChalupa commented 3 years ago

I've just initialized a Gatbsy starter and can't reproduce your issue. Can you tell me the last command you've run?

This works for me: https://github.com/FilipChalupa/react-use-pwa-install-peer-test/commit/305031d7c38946720bcdd726f0b19c3784446d77

image

Maybe i'm using peer dependecies wrong.

KarlBaumann commented 3 years ago

I am using later React version. It is basically complaining that my version is newer. I have 17.0.2 but it asks for 17.0.1 if I understand correctly.

FilipChalupa commented 3 years ago

I had older npm. After upgrading it and React I get same error as you.

FilipChalupa commented 3 years ago

I've updated the package to react-use-pwa-install@0.1.1. I should work with the latest npm now.

KarlBaumann commented 3 years ago

thanks! working good now!