首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Angular2-meteor无法读取属性"meteorInstall“

Angular2-meteor无法读取属性"meteorInstall“
EN

Stack Overflow用户
提问于 2017-03-03 11:57:42
回答 1查看 916关注 0票数 0

我正在转换一个旧的angular2项目,使用meteor作为一个基于I 2-meteor whatsapp教程的项目的管理面板样式的东西。

因此,我在api内的客户端文件夹中构建网站。

我非常确定我已经为angular2客户端做了正确的事情(基于旧的社交教程)。

不过,我把它们当作错误来处理。

代码语言:javascript
复制
modules.js:13538 Uncaught SyntaxError: Unexpected token export
es5-shim.js:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at es5-shim.js:17
    at es5-shim.js:2789
promise.js:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at promise.js:17
    at promise.js:582
ecmascript-runtime.js:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at ecmascript-runtime.js:17
    at ecmascript-runtime.js:4630
babel-runtime.js:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at babel-runtime.js:17
    at babel-runtime.js:160
random.js:18 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at random.js:18
    at random.js:368

我想我可能错过了一个导入或某处的东西,但是我不知道在哪里。

任何帮助都是很棒的。

这些是我安装的包。

代码语言:javascript
复制
meteor-base@1.0.4            
mobile-experience@1.0.4       
mongo@1.1.15                   
reactive-var@1.0.11            
jquery@1.11.10                 
tracker@1.1.2
standard-minifier-css@1.3.3
standard-minifier-js@1.2.2
es5-shim@4.6.15
ecmascript@0.6.3
shell-server@0.2.2
angular2-compilers
barbatus:typescript
accounts-base@1.2.14
npm-bcrypt@0.9.2
accounts-password@1.3.4
reywood:publish-composite
http@1.2.11
alanning:roles
check@1.2.4
dispatch:mocha-phantomjs
tmeasday:publish-counts
hwillson:stub-collections
practicalmeteor:mocha
xolvio:cleaner

~编辑

/错误来自@angular/http模块,我将尝试回滚它,看看是否有帮助。

代码语言:javascript
复制
/**
 * \@experimental
 *
 */
export var QueryEncoder = (function () {//<---- this is the line causing the error
    function QueryEncoder() {
    }

    QueryEncoder.prototype.encodeKey = function (k) { return standardEncoding(k); };

    QueryEncoder.prototype.encodeValue = function (v) { return standardEncoding(v); };
    return QueryEncoder;
}());

回滚和向前回滚根本没有任何帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-03-15 13:13:38

我也有同样的问题。对我来说,这是由于最近安装的离子插件。移除该插件后,它已开始正常工作。请尝试删除您最近添加的插件。我希望你现在已经尝试过了。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42570396

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档