zetavg / react-native-system-notification

Android system notifications for React Native. Supports push notifications with GCM integrated.
https://www.npmjs.com/package/react-native-system-notification
244 stars 102 forks source link

npm WARN react-native-system-notification@0.1.8 requires a peer of react-native-gcm-android@^0.2.0 but none was installed. #28

Open cancan101 opened 8 years ago

cancan101 commented 8 years ago

When I initially tried to install, I got:

$ npm install react-native-system-notification --save
aFitness2@0.0.1 /Users/alex/git/aFitness2
├── UNMET PEER DEPENDENCY react-native-gcm-android@^0.2.0
└── react-native-system-notification@0.1.8 

npm WARN react-native-system-notification@0.1.8 requires a peer of react-native-gcm-android@^0.2.0 but none was installed.

I then ran:

$ npm i --save react-native-gcm-android
aFitness2@0.0.1 /Users/alex/git/aFitness2
└── react-native-gcm-android@0.2.0 

and then:

$ npm install react-native-system-notification --save
cancan101 commented 8 years ago

This looks like a change with npm3. Perhaps add a note to the install instructions to install react-native-gcm-android first.