Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Error while running: ember-cli-update

未关闭
#1,218 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
cli, tooling

调研方向

使用报告中显示的命令,在 Ember 2.4.1 项目上运行 ember-cli-update 时重现该故障。从 node_modules/ember-cli/bin/ember 以及 src/get-start-and-end-commands.js 和 node_modules/boilerplate-update 中的堆栈条目开始;当更新不再因 SIGABRT 中止且命令成功完成时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Screenshot 2022-11-11 at 6 26 41 PM I am trying to upgrade ember from 2.4.1 to latest version as this version have dependency on jquery 2.2.4 version which is vulnerable to multiple attacks. while running i am getting this error :

ember[32429]: ../src/node_contextify.cc:686:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfov8::Value &): Assertion args[1]->IsString()' failed. 1: 0x101323515 node::Abort() (.cold.1) [/usr/local/bin/node] 2: 0x1000b6609 node::Abort() [/usr/local/bin/node] 3: 0x1000b6471 node::Assert(node::AssertionInfo const&) [/usr/local/bin/node] 4: 0x1000a9c84 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node] 5: 0x1002724a8 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/bin/node] 6: 0x10027175c v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/usr/local/bin/node] 7: 0x10027117f v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node] 8: 0x100a8ed19 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/bin/node] ember[32432]: ../src/node_contextify.cc:686:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion args[1]->IsString()' failed.
1: 0x101323515 node::Abort() (.cold.1) [/usr/local/bin/node]
2: 0x1000b6609 node::Abort() [/usr/local/bin/node]
3: 0x1000b6471 node::Assert(node::AssertionInfo const&) [/usr/local/bin/node]
4: 0x1000a9c84 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfov8::Value const&) [/usr/local/bin/node]
5: 0x1002724a8 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/bin/node]
6: 0x10027175c v8::internal::MaybeHandlev8::internal::Object v8::internal::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::FunctionTemplateInfo, v8::internal::Handlev8::internal::Object, v8::internal::BuiltinArguments) [/usr/local/bin/node]
7: 0x10027117f v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
8: 0x100a8ed19 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/bin/node]
Error: Command was killed with SIGABRT (Aborted): node /Users/Desktop/Projects/sample/client/node_modules/ember-cli/bin/ember new my-project -sg -sn -sb -b app --no-welcome
at makeError (/usr/local/lib/node_modules/ember-cli-update/node_modules/execa/lib/error.js:60:11)
at handlePromise (/usr/local/lib/node_modules/ember-cli-update/node_modules/execa/index.js:118:26)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async __runEmber (/usr/local/lib/node_modules/ember-cli-update/src/get-start-and-end-commands.js:214:11)
at async _runEmber (/usr/local/lib/node_modules/ember-cli-update/src/get-start-and-end-commands.js:230:11)
at async createProject (/usr/local/lib/node_modules/ember-cli-update/src/get-start-and-end-commands.js:245:9)
at async _prepareCommand (/usr/local/lib/node_modules/ember-cli-update/node_modules/boilerplate-update/src/get-start-and-end-commands.js:54:17)
at async tryPrepareCommandUsingCache (/usr/local/lib/node_modules/ember-cli-update/node_modules/boilerplate-update/src/get-start-and-end-commands.js💯10)
at async tryPrepareCommandUsingLocal (/usr/local/lib/node_modules/ember-cli-update/node_modules/boilerplate-update/src/get-start-and-end-commands.js:123:19)
at async AsyncFunction.prepareCommand (/usr/local/lib/node_modules/ember-cli-update/node_modules/boilerplate-update/src/get-start-and-end-commands.js:183:17) {
shortMessage: 'Command was killed with SIGABRT (Aborted): node /Users/anil.bhimwal/Desktop/Projects/website-corporate/client/node_modules/ember-cli/bin/ember new my-project -sg -sn -sb -b app --no-welcome',
command: 'node /Users/anil.bhimwal/Desktop/Projects/website-corporate/client/node_modules/ember-cli/bin/ember new my-project -sg -sn -sb -b app --no-welcome',
escapedCommand: 'node "/Users/anil.bhimwal/Desktop/Projects/website-corporate/client/node_modules/ember-cli/bin/ember" new my-project -sg -sn -sb -b app --no-welcome',
exitCode: undefined,
signal: 'SIGABRT',
signalDescription: 'Aborted',
stdout: '',
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}

please help me to resolve this

主要语言
JavaScript
星标
279
派生
44
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ember-cli/ember-cli-update 的其他 Issue

查看 ember-cli/ember-cli-update 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。