我正在尝试在访问我的"www"网址时实施301重定向,以重新路由到"非www".重定向适用于localhost,项目构建正常.当我尝试使用mup进行部署时,我收到此错误:
x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
:callback’ will be initialized after [-Wreorder]
v8::Handle<v8::Function> callback;
^
../src/heap_output_stream.h:26:29: warning: ‘v8::Handle<v8::Value> nodex::OutputStreamAdapter::abort’ [-Wreorder]
v8::Handle<v8::Value> abort;
^
../src/heap_output_stream.h:11:7: warning: when initialized here [-Wreorder]
OutputStreamAdapter(
^
gyp info ok
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
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 …Run Code Online (Sandbox Code Playgroud) 我在编辑器中发了一些东西,我不知道为什么会这样!有人请帮帮我.

我正在使用meteor react-packages,我正确显示了appbar,但我无法让nav切换工作.我直接使用代码中的代码,我甚至阅读了材料-ui repo中的代码,看起来它应该正常工作.我究竟做错了什么?
let {AppBar, LeftNav} = mui
AppLayout = React.createClass({
menuItems: [
{route: '/profile/bio', text: 'bio'},
{route: '/profile/photos', text: 'photos'},
{route: '/profile/videos', text: 'videos'},
{route: '/profile/filmography', text: 'filmography'},
{route: '/profile/settings', text: 'settings'},
{route: '/profile/accounts', text: 'accounts'}
],
_toggle(e){
e.preventDefault()
this.refs.leftNav.toggle()
},
render(){
return (
<div>
<AppBar onLeftIconButtonTouchTap={this._toggle} title='react+meteor' />
<LeftNav ref="leftNav" docked={false} menuItems={this.menuItems} />
<AppView />
</div>
)
}
})
Run Code Online (Sandbox Code Playgroud) 几个小时以来我一直在与这个问题作斗争.我似乎无法弄清楚为什么我的代码工作,现在不是!
我正在使用Backj和Marionette在requirejs上构建一个相当复杂的应用程序,我是所有这些库的新手,所以它有点令人困惑.
我收到了错误
Uncaught TypeError: Object [object Object] has no method 'apply'
Run Code Online (Sandbox Code Playgroud)
我似乎无法弄清楚发生了什么或为什么我的应用程序现在无法正常工作,无论我似乎评论出什么代码.
有什么帮助指出我正确的方向?
javascript ×3
meteor ×2
backbone.js ×1
cursor ×1
marionette ×1
material-ui ×1
meteor-up ×1
node.js ×1
reactjs ×1
requirejs ×1
settings ×1
sublimetext2 ×1