Closed Ziyad33 closed 3 years ago
Were you able to resolve this? I am experiencing the same issue.
Only difference being that even after adding raix:eventstate nothing changes.
yea, I noticed in package.js
file that raix:eventstate@0.0.5
is being used, try to add the same package version with meteor add raix:eventstate@0.0.5
, it might solve your issue.
Also make sure that you are using the latest version of activitree:push
that is 2.0.7
yea, I noticed in
package.js
file thatraix:eventstate@0.0.5
is being used, try to add the same package version withmeteor add raix:eventstate@0.0.5
, it might solve your issue.Also make sure that you are using the latest version of
activitree:push
that is 2.0.7
Thank you!
You should not need to install raix:eventstate 'manually'. This is a dependency which is supposed to be installed with meteor-push.
From the example files there is a folder inside app
lib/server/pushToDB.js
in line 6 has the following lineconst Push = new EventState();
triggers the following error in the terminal:Is there certain package I need to add?
UPDATE
I tried to add raix:eventstate package, the problem disappear but I get the error in the line after it
Push.notifications = new Mongo.Collection("_push_notifications");
that says there is already a collection named_push_notifications
,did I add the correct package? if yes, should I just change the name of
_push_notifications
collection?