2017-01-21 10 views
0

こんにちは、私は流星アプリを配備しようとしています。私は流星を使っています。流星の設定がうまくいきます。私は自分のローカルマシンとサーバーマシンの両方でノードとnpmを更新しています。ノードノードノード4.6.0とnpm 3.10.9を破棄し、流星の最新バージョンを破棄します。しかし、私はこのログエラーを取得し続けます。Meteor Deploy Error

[40.69.194.127] => Starting meteor app on port:80           
[40.69.194.127]  at wrapPathFunction (/bundle/bundle/programs/server/mini-files.js:77:10 
    at Object.<anonymous> (/bundle/bundle/programs/server/mini-files.js:108:24)    
    at Module._compile (module.js:456:26)             
    at Object.Module._extensions..js (module.js:474:10)          
    at Module.load (module.js:356:32)              
    at Function.Module._load (module.js:312:12)            
    at Module.require (module.js:364:17)             
    at require (module.js:380:17)               
    at Object.<anonymous> (/bundle/bundle/programs/server/boot.js:9:13)      
    at Module._compile (module.js:456:26)             
npm WARN deprecated This version of npm lacks support for important features,    
npm WARN deprecated such as scoped packages, offered by the primary npm      
npm WARN deprecated registry. Consider upgrading to at least [email protected], if not the    
npm WARN deprecated latest stable version. To upgrade to [email protected], run:      
npm WARN deprecated                   
npm WARN deprecated npm -g install [email protected]           
npm WARN deprecated                   
npm WARN deprecated To upgrade to the latest stable version, run:       
npm WARN deprecated                   
npm WARN deprecated npm -g install [email protected]            
npm WARN deprecated                   
npm WARN deprecated (Depending on how Node.js was installed on your system, you    
npm WARN deprecated may need to prefix the preceding commands with `sudo`, or if   
npm WARN deprecated on Windows, run them from an Administrator prompt.)      
npm WARN deprecated                   
npm WARN deprecated If you're running the version of npm bundled with      
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS   
npm WARN deprecated will be bundled with a version of [email protected], which has some small   
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and    
npm WARN deprecated semver behavior.              
npm WARN package.json [email protected] No description        
npm WARN package.json [email protected] No repository field.       
npm WARN package.json [email protected] No README data        
npm WARN cannot run in wd [email protected] node npm-rebuild.js (wd=/bundle/bundle/pr 

assert.js:93                    
    throw new assert.AssertionError({               
     ^                     
AssertionError: "undefined" === "function"             
    at wrapPathFunction (/bundle/bundle/programs/server/mini-files.js:77:10)    
    at Object.<anonymous> (/bundle/bundle/programs/server/mini-files.js:108:24)    
    at Module._compile (module.js:456:26)             
    at Object.Module._extensions..js (module.js:474:10)          
    at Module.load (module.js:356:32)              
    at Function.Module._load (module.js:312:12)            
    at Module.require (module.js:364:17)             
    at require (module.js:380:17)               
    at Object.<anonymous> (/bundle/bundle/programs/server/boot.js:9:13)      
    at Module._compile (module.js:456:26) 

私のサーバーは晴れで、Ubuntu 14マシンです。 私はこれを手伝ってください。私はこのことに長らく執着しています。

おかげ

+0

'/bundle/bundle/programs/server/mini-files.js:108'には何がありますか? –

+0

私はこのパスを見つけることができません。私はバンドルフォルダを見つけることができません –

答えて

1

これを修正するには、以下のようにドッキングウィンドウのイメージを使用するmup.jsの設定を変更する必要があります。詳細については

{ 
    meteor: { 
    dockerImage: 'abernix/meteord:base', 
    // ... 
    }, 
} 

enter image description here

、あなたは答えを確認することができますこのリンクの中の@abernixの:https://github.com/meteor/meteor/issues/7475