ember-cli / ember-cli/ember-cli-update
Error while running: ember-cli-update
- Ngôn ngữ chính
- JavaScript
- Star
- 279
- Fork
- 44
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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 FunctionCallbackInfo &): 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 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::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, 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 &): 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 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::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, 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:100: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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Tái hiện lỗi khi chạy ember-cli-update trên một dự án Ember 2.4.1, bằng lệnh được hiển thị trong báo cáo. Bắt đầu với node_modules/ember-cli/bin/ember và các mục trong stack tại src/get-start-and-end-commands.js và node_modules/boilerplate-update; hoàn tất khi quá trình cập nhật không còn bị hủy với SIGABRT và lệnh chạy thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, node.js
- Lĩnh vực
- cli, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100