Tag: angularmeteor

在WebStorm 11中创build一个angularmeteor项目

我使用支持angularmeteor的WebStorm 11。 但是,当我创build一个新的Meteor项目时,它使用Blaze。 我怎样才能改变它使用Angular而不是Blaze? 任何帮助将深深感激!

Meteor npm install从package.json安装错误的版本

我有我的package.jsonmeteor项目与所有angular库版本@2.0.0-rc.4但是,然后我简单地将它们replace为2.0.1所以我的package.json如下所示: { "name": "angular2-meteor-base", "private": true, "scripts": { "start": "meteor run", "test": "meteor test –driver-package practicalmeteor:mocha", "test:ci": "meteor test –once –driver-package dispatch:mocha-phantomjs" }, "devDependencies": { "chai": "3.5.0", "chai-spies": "0.7.1" }, "dependencies": { "@angular/common": "2.0.1", "@angular/compiler": "2.0.1", "@angular/core": "2.0.1", "@angular/forms": "0.2.0", "@angular/platform-browser": "2.0.1", "@angular/platform-browser-dynamic": "2.0.1", "@angular/router": "3.0.0-alpha.8", "angular2-meteor": "0.6.2", "angular2-meteor-auto-bootstrap": "0.6.0", "angular2-meteor-polyfills": "0.1.1", "angular2-meteor-tests-polyfills": "0.0.2", "es6-shim": […]

使用angularmeteor运行预定作业的最理想的方式

我正在写一个angularmeteor的约会安排应用程序。 其中一个要求就是将文本通知发送给预约的客户。 客户提供一个手机号码。 但基本上,我只想在预约时间前的几分钟发一封电子邮件。 运行angularmeteor云,最好的办法是什么? 所有的约会信息保存到一个mongo分贝。

npm ERR! 404没有findnpm ERR! 不好的代码0

我刚开始制作一个angularmeteor的网站,现在我想用日历来select一个date。 从这个SO回答中,我得到了我安装使用的meteorangular度UI日历的提示 meteor add angularui:ui-calendar 然而,安装应用程序后,我的应用程序崩溃与消息说Error: Can't find npm module 'bcrypt'. Did you forget to call 'Npm.depends' in package.js within the 'npm-bcrypt' package? Error: Can't find npm module 'bcrypt'. Did you forget to call 'Npm.depends' in package.js within the 'npm-bcrypt' package? 。 所以我尝试使用以下变化安装 npm install npm-brcrypt npm install brcrypt 不幸的是,我总是得到一个错误说 npm ERR! 404 Not Found […]

使用window.location.assign会导致Meteor.userId丢失

我写了一个Meteor网站,其中客户端路由由angular-meteor完成,服务器路由由IronRouter完成。 其中一个调用要求在浏览器操作之后,我调用服务器端路由,所以我正在使用: window.location.assign('/my/server/route') 而不是Angular $ location.path(…)(因为这个url没有客户端路由) 我注意到,如果用户login,那么在调用window.location.assign后, Meteor.userId在服务器端变为空。 从我的日志 – 之前.assign(客户端和服务器端): Meteor.userId: iaPkB6cxKGMS7b7H6 分配后(服务器端) Meteor.userId: null 有人可以解释为什么userId在这种情况下丢失?