2017-03-03 6 views
0

나는 ionic2-meteor whatsapp 튜토리얼을 기반으로하는 프로젝트에 대한 관리 패널 스타일로 작동하도록 유성을 사용하여 이전의 angular2 프로젝트를 변환합니다.Angular2-meteor cant 속성을 읽기 "meteorInstall"

그래서 api 내부의 클라이언트 폴더에 웹 사이트를 구축하고 있습니다.

저는 angular2 클라이언트에 대해 (오래된 사회적 튜토리얼을 기반으로) 올바른 것을 얻었을 것이라고 확신합니다.

나는 이것들을 오류로보고 있습니다.

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 

나는 수입이나 어딘가를 놓친 것 같은데 상상할 수 없을 것이다.

도움이 될 것입니다.

다음 패키지는 내가 설치 한 패키지입니다.

[email protected]    
[email protected]  
[email protected]     
[email protected]    
[email protected]     
[email protected] 
[email protected] 
[email protected] 
[email protected] 
[email protected] 
[email protected] 
angular2-compilers 
barbatus:typescript 
[email protected] 
[email protected] 
[email protected] 
reywood:publish-composite 
[email protected] 
alanning:roles 
[email protected] 
dispatch:mocha-phantomjs 
tmeasday:publish-counts 
hwillson:stub-collections 
practicalmeteor:mocha 
xolvio:cleaner 

~ 편집

/// 오류가 각도/HTTP 모듈 @에서 온다, 나는 그것이 도움이 있는지 확인하기 위해 다시 압연 시도거야.

/** 
* \@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; 
}()); 

롤백 및 전진이 전혀 도움이되지 않았습니다.

+0

modules.js가 컴파일되지 않고 그 밖의 모든 것에서 필요하기 때문에 meteorInstall 오류가 발생합니다. 모듈 파일에서 오류가 발생하는 줄을 조사한 결과 오류가 발생하는 것을 볼 수 없습니다. 질문에 게시했습니다. –

답변

1

나는 동일한 문제가있었습니다. 나를 위해 그것이 최근에 설치된 이온 플러그인 때문이었습니다. 해당 플러그인을 제거한 후 정상적으로 작동하기 시작했습니다. 최근에 추가 된 플러그인을 제거하십시오. 나는 당신이 지금까지 그것을 시도했기를 바랍니다.

+0

예, 우리는 프로젝트를 다시 빌드하고 몇 가지 일이 발생하는 것을 발견, 그래서 우리는 그 플러그인을 사용하여 반대하고 대신 다른 사람을 사용하는 것으로 나타났습니다. –