emberjs 无法启动

发布于 2022-09-04 22:05:56 字数 3387 浏览 51 评论 0

刚开始学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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

肥爪爪 2022-09-11 22:05:56

看着像是内存分配失败!!
推荐一个社区:http://emberteach.ddlisting.com/,都是讲Ember.js的。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文