emberjs 无法启动
刚开始学emberjs,从官方这个tutorial开始,新建项目,安装完node依赖包,一起动server,就报错退出了。
super-rentals]$ember server
Visit https://ember-cli.com/user-guide/#watchman for more info.
Warning: failed to stat /data/ember-apps/super-rentals/node_modules/._broccoli-lint-eslint@3.2.1@broccoli-lint-eslint/node_modules/eslint/node_modules/escope/node_modules/es6-map/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator/node_modules/d/node_modules/es5-ext/node_modules/es6-iterator
<--- Last few GCs --->
[1091:0x102804c00] 56607 ms: Mark-sweep 1450.9 (1512.9) -> 1450.4 (1513.9) MB, 1004.7 / 0.0 ms allocation failure GC in old space requested
[1091:0x102804c00] 57453 ms: Mark-sweep 1450.4 (1513.9) -> 1450.3 (1482.9) MB, 846.6 / 0.0 ms last resort
[1091:0x102804c00] 58445 ms: Mark-sweep 1450.3 (1482.9) -> 1450.3 (1482.9) MB, 991.7 / 0.0 ms last resort
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x354c5cfa66a1 <JS Object>
0: builtin exit frame: concat(this=0xc7323e71169 <JS Array[92514]>,0x3c997ba02201 <JS Array[48885]>)
1: keysForTree [/data/ember-apps/super-rentals/node_modules/._broccoli-kitchen-sink-helpers@0.3.1@broccoli-kitchen-sink-helpers/index.js:~27] [pc=0xac9fab9fce6](this=0x21dae3a944b1 <JS Global Object>,fullPath=0x8d3cde05f21 <String[661]: /data/ember-apps/super-rentals/node_modules/._broc...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/usr/local/bin/node]
2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/usr/local/bin/node]
3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
4: v8::internal::Factory::NewUninitializedFixedArray(int) [/usr/local/bin/node]
5: v8::internal::Factory::NewJSArrayStorage(v8::internal::Handle<v8::internal::JSArray>, int, int, v8::internal::ArrayStorageAllocationMode) [/usr/local/bin/node]
6: v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::PretenureFlag) [/usr/local/bin/node]
7: v8::internal::ElementsAccessor::Concat(v8::internal::Isolate*, v8::internal::Arguments*, unsigned int, unsigned int) [/usr/local/bin/node]
8: v8::internal::(anonymous namespace)::Fast_ArrayConcat(v8::internal::Isolate*, v8::internal::BuiltinArguments*) [/usr/local/bin/node]
9: v8::internal::Builtin_Impl_ArrayConcat(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
10: 0xac9fa404167
11: 0xac9fab9fce6
12: 0xac9fab9fc5a
13: 0xac9fab9fc5a
14: 0xac9fab9fc5a
15: 0xac9fab9fc5a
16: 0xac9fab9fc5a
17: 0xac9fab9fc5a
18: 0xac9fab9fc5a
19: 0xac9fad3619f
Abort trap: 6
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看着像是内存分配失败!!
推荐一个社区:http://emberteach.ddlisting.com/,都是讲Ember.js的。