angular-meteor

Meteor error: “com.meteor.webapp.WebAppException: Error parsing asset manifest”

旧街凉风 提交于 2019-12-13 02:07:19
问题 I have an error when i run my app in my android device with: meteor run android-device --settings settings.json --mobile-server=myip:port I have deployed my app in my VPS with MUP (Meteor up). The app in my device seems work good and is able to communicate with my VPS but i have this error: I20160516-20:17:03.059(2)? W/MeteorWebApp( 3915): Download failure I20160516-20:17:03.059(2)? W/MeteorWebApp( 3915): com.meteor.webapp.WebAppException: Error parsing asset manifest I20160516-20:17:03.060(2

Meteor: Endpoint for images fetched from S3 - How to authenticate connection?

独自空忆成欢 提交于 2019-12-12 04:23:04
问题 We have encrypted images stored in S3 that we need to serve to clients, meaning that we cannot give clients S3 URLs for the img src. The files are also potentially large, so idealy we would like to not go through js. With no serverside routing available we were going down the route of having a separate express setup in Meteor, and this works, since the router on the client side doesn't interfere with We could add the Auth token to the src url and poke the DB, but we're wary of doing so as it

Meteor-Angular2 - ReferenceError: System is not defined

雨燕双飞 提交于 2019-12-12 03:33:23
问题 Since I tried upgraded my project to support the last Angular2 router I completely broke my app.h Nothing went smoot and it's been an amazing journey through all errors and problems that I have face. I managed to solve them all except this one. I would be very appreciated if someone could give me a hint on what to do because I ran out of possibilities. W20160905-02:19:05.541(1)? (STDERR) /home/workspace/.meteor/packages/meteor-tool/.1.4.1_1.crqcrg++os.linux.x86_64+web.browser+web.cordova/mt

how to request angular version that is lower than default with angular-meteor

佐手、 提交于 2019-12-12 02:58:49
问题 I'm trying to use a third party commercial JS library in my angular-meteor project The vendor just informed me, that they only support angular version 1.3.11 Is there a way to install urigu:angular-meteor with this specific version of angular? 回答1: According to the meteor documentation you can set a version using @= so it should be like that: meteor add angularjs:angular@=1.3.11 However, doing so you might have versions conflict like that: >meteor add angularjs:angular@=1.3.11 => Errors while

Sort and limit not working with Mongo + Meteor

心已入冬 提交于 2019-12-11 16:11:32
问题 This is my publish.js file in which I publish my collection: const tags = Tags.find({title: { $regex: `.*${searchString}.*`, $options: 'i' }}, { sort: { counts: -1 }, limit: 3 }); console.log(tags.count()); return tags; And this is my components which is subscribing to this collection: this.tagsSubscription = this.subscribe('tags', () => [this.tag], function (err) { that.tags = Tags.find().fetch(); }); So with this I get 2 different errors: sort and limit are not working: I sometimes get more

Share `node_modules` between Meteor 1.6 server & Angular CLI client Angular-Meteor subprojects?

喜夏-厌秋 提交于 2019-12-11 15:19:27
问题 I have been using Meteor 1.3.x-1.5.x for the server in an Angular-Meteor project with a web client built via Angular CLI. Up until Meteor 1.6, I have been able to use a single node_modules directory shared via a symlink to reduce the size of and easily keep in sync the many shared dependencies between the client and server, following the example of the Angular-Meteor starter applications. However, from the new package-lock.json file appearing in the root of the server directory, Meteor 1.6

is it possible to use getReactively on $rootScope variables?

余生长醉 提交于 2019-12-10 11:55:59
问题 I have a case that I want to update the ui based on the user so if a user was log-out and log-in as different user, a score of the user in the ui is changed. The way I thought about doing it is by looking at $rootScope.currentUser . from my testing it seems like there is some kind of access to the $rootScope, but it is not getting updated on user change (unless I have a bug in my code). here is the relevant code: $meteor.autorun($scope, function() { if (null !== $rootScope.currentUser) {

Query from minimongo of large number of records stucks and hangs browser

喜你入骨 提交于 2019-12-08 15:40:50
问题 I am building a page for admin in angular-meteor . I have published all the records from a collection: " posts " and have taken the subscription of all the records on front end. $meteor.subscribe('posts'); In the controller, if I select the cursors of all records from minimongo it works fine like: $scope.posts = $meteor.collection(Posts); But I want to display pagination, so for that I want limited records at a time like: $scope.posts = $meteor.collection(function(){ return Posts.find( {}, {

Angular UI-Calendar TypeError: calendar.fullCalendar is not a function

久未见 提交于 2019-12-06 04:19:58
I been trying to use Angular: ui-calendar with meteor, but get this error. TypeError: calendar.fullCalendar is not a function at Scope.scope.initCalendar (calendar.js:265) at Object.fn (calendar.js:337) at Scope.$digest (angular.js:15896) at Scope.$apply (angular.js:16160) at bootstrapApply (angular.js:1679) at Object.invoke (angular.js:4523) at doBootstrap (angular.js:1677) at Object.bootstrap (angular.js:1697) at HTMLDocument.onReady (app.js:47) at fire (jquery.js:3143) In meteor packages i habe: angular 1.2.3 angularui:ui-calendar also tried to use the package inserted directly not using

Angularjs and Meteor “Session” reactivity, is there a way?

99封情书 提交于 2019-12-06 03:17:35
问题 I'm trying to work with Meteor and Angularjs. I'm using Meteor_angularjs package, which works OK with Collections . Now I'm trying to use Session and my reactive data store: TestCtrl = [ "$scope", function($scope){ $scope.value = Session.get('someValue'); } ] This does not work. QUESTION: Any suggestions on how to tie down Meteor's Session and Angular? As far as I understand, I can write directive that will be polling Session every so ofter, however I don't think that's a good choice. Thanks