Node.js 流星部署错误

Node.js 流星部署错误,node.js,azure,ubuntu,meteor,meteor-up,Node.js,Azure,Ubuntu,Meteor,Meteor Up,你好,我正在尝试部署我的meteor应用程序,我正在使用meteor up。流星设置工作正常。我在本地和服务器机器上都有更新节点和npm。毁灭节点版本Node4.6.0和npm 3.10.9以及meteor上的最新版本。但我一直收到这个日志错误 [40.69.194.127] => Starting meteor app on port:80 [40.69.194.127] at wrapPathF

你好,我正在尝试部署我的meteor应用程序,我正在使用meteor up。流星设置工作正常。我在本地和服务器机器上都有更新节点和npm。毁灭节点版本Node4.6.0和npm 3.10.9以及meteor上的最新版本。但我一直收到这个日志错误

[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 npm@2, if not the             
npm WARN deprecated latest stable version. To upgrade to npm@2, run:                       
npm WARN deprecated                                                                        
npm WARN deprecated   npm -g install npm@latest-2                                          
npm WARN deprecated                                                                        
npm WARN deprecated To upgrade to the latest stable version, run:                          
npm WARN deprecated                                                                        
npm WARN deprecated   npm -g install npm@latest                                            
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 npm@2, 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 meteor-dev-bundle@0.0.0 No description                               
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.                         
npm WARN package.json meteor-dev-bundle@0.0.0 No README data                               
npm WARN cannot run in wd meteor-dev-bundle@0.0.0 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)   
[40.69.194.127]=>在端口80上启动meteor应用程序
[40.69.194.127]在wrapPathFunction(/bundle/bundle/programs/server/mini files.js:77:10
at对象。(/bundle/bundle/programs/server/mini files.js:108:24)
在模块处编译(Module.js:456:26)
在Object.Module.\u extensions..js(Module.js:474:10)
在Module.load(Module.js:356:32)
在Function.Module.\u加载(Module.js:312:12)
at Module.require(Module.js:364:17)
根据需要(模块js:380:17)
at对象。(/bundle/bundle/programs/server/boot.js:9:13)
在模块处编译(Module.js:456:26)
npm WARN已弃用此版本的npm缺少对重要功能的支持,
npm WARN已弃用,例如主npm提供的作用域包
NPM警告未注册注册表。考虑升级到至少npm@2,如果不是
npm WARN已弃用最新稳定版本。要升级到npm@2,运行:
npm警告已弃用
npm警告已弃用的npm-g安装npm@latest-2                                          
npm警告已弃用
npm WARN已弃用要升级到最新的稳定版本,请运行:
npm警告已弃用
npm警告已弃用的npm-g安装npm@latest                                            
npm警告已弃用
npm WARN已弃用(根据Node.js在系统上的安装方式,您可以
npm WARN deprecated可能需要在前面的命令前面加上'sudo',或者如果
npm警告Windows上已弃用,请在管理员提示下运行它们。)
npm警告已弃用
如果您正在运行与捆绑的npm版本,则npm WARN已弃用
npm警告已弃用的Node.js 0.10 LTS,请注意下一版本的0.10 LTS
npm WARN Disprecated将与的版本捆绑在一起npm@2,它有一些小的
npm WARN已弃用对“npm运行脚本”所做的向后不兼容更改,并且
npm警告不推荐的semver行为。
npm WARN package.json meteor dev-bundle@0.0.0没有描述
npm WARN package.json meteor dev-bundle@0.0.0没有存储库字段。
npm WARN package.json meteor dev-bundle@0.0.0没有自述文件数据
npm WARN无法在wd meteor dev中运行-bundle@0.0.0节点npm-rebuild.js(wd=/bundle/bundle/pr
assert.js:93
抛出新的assert.AssertionError({
^                                                                                  
断言错误:“未定义”==“函数”
在wrapPathFunction(/bundle/bundle/programs/server/mini files.js:77:10)
at对象。(/bundle/bundle/programs/server/mini files.js:108:24)
在模块处编译(Module.js:456:26)
在Object.Module.\u extensions..js(Module.js:474:10)
在Module.load(Module.js:356:32)
在Function.Module.\u加载(Module.js:312:12)
at Module.require(Module.js:364:17)
根据需要(模块js:380:17)
at对象。(/bundle/bundle/programs/server/boot.js:9:13)
在模块处编译(Module.js:456:26)
我的服务器在azure上,它是一台Ubuntu14机器。 你能帮我一把吗?我已经坚持了很长时间了


感谢

要解决此问题,您需要更改
mup.js
设置以使用docker图像,如下所示:

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


有关更多详细信息,您可以查看此链接中@abernix的答案:。

/bundle/bundle/programs/server/mini files.js:108中有什么内容?我似乎找不到此路径。我找不到bundle文件夹