0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

M1 mac で sencha cmd が動かないとき

Last updated at Posted at 2021-12-18

M1 の mac で sencha cmd が動かないことがありました。

[INF] Processing Build Descriptor : default (production environment)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff816ba06f2, pid=69104, tid=0x00000000000099bb
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libsystem_platform.dylib+0x16f2]  _platform_strlen+0x12
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#

その場合には、~/Library/Application Support/Sencha/Cmd/Update にある app.properties ファイルを一旦削除してから実行すると動作します。(僕の場合は動作しました)

cd ~/Library/Application Support/Sencha/Cmd/Update
rm app.properties

また、Java でのエラーが出る場合は、with JRE のパッケージで SenchaCmd をインストールするとよいでしょう。

追記

上記の対応をしてもまだエラーが出る場合があります。その場合は app.json に次の行を追加します

    "bypass_lp" :true,

参考: https://stackoverflow.com/questions/70266708/sencha-cmd-problem-after-macos-monterrey-update

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?