Giter Site home page Giter Site logo

node-gcm's Issues

Multiple notifications in parrallel

Hey folks,
I have a strange behaviour. Sometimes I send multiple notifications in parrallel. It means that I call gcm.send() multiple times. I know I could use an array of reg ID instead but it messages are not the same.

Everything works fine except when there is one error in one of the notifications. For example when one of the recepient has an expired reg Id, I receive the NotRegistered error. My problem is that I get this error for all the other notifications sent at the same time whereas there should be no error for the other recipients. This is strange

FCM depricated

As of April 10, 2018, Google has deprecated GCM. The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019. Migrate GCM apps to Firebase Cloud Messaging (FCM), which inherits the reliable and scalable GCM infrastructure, plus many new features. See the migration guide to learn more.

설치시 에러입니다.

어쩌다 찾게되었는데 창신님꺼라 더반갑네요. 원래는 에러나면 안쓰고말지만 아시는분이라 그냥갈수가 없어서.. ^^;

npm install gcm 후에 에러가 뜹니다. 제 노드 버전에 뭔가 안맞나보네요

아래는 에러메세지 입니다.

npm ERR! Error: No compatible version found: gcm
npm ERR! No valid targets found.
npm ERR! Perhaps not compatible with your version of node?
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:486:10)
npm ERR! at next_ (/usr/local/lib/node_modules/npm/lib/cache.js:436:17)
npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:413:44)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:406:5
npm ERR! at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:151:7)
npm ERR! at Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:230:7)
npm ERR! You may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR!
npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "gcm"
npm ERR! cwd /Users/doubleub/dev/CoffeeScript/easy-bus-server
npm ERR! node -v v0.6.13
npm ERR! npm -v 1.1.15
npm ERR! message No compatible version found: gcm
npm ERR! message No valid targets found.
npm ERR! message Perhaps not compatible with your version of node?
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/doubleub/dev/CoffeeScript/easy-bus-server/npm-debug.log
npm not ok

Install problem

Hi,

I know that this would probably be a lame question, but I'm trying to install it on my macbook pro with mountain lion, and I get this response after executing the install command:

npm WARN install Refusing to install gcm as a dependency of itself

do you have any idea what could it be?

Thanks,
Juan Docal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.