Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON.parse(JSON.stringify())の代わりにstructuredClone(toRaw())を使う #1771

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cm-ayf
Copy link
Contributor

@cm-ayf cm-ayf commented Jan 28, 2024

内容

とりあえず,現在存在するJSON.parse(JSON.stringify(hoge))structuredClone(toRaw())に変更します.

関連 Issue

#1770

その他

ESLintルールは整備中です.

@cm-ayf
Copy link
Contributor Author

cm-ayf commented Jan 28, 2024

なんかテスト落ちてるのでdraftにします……

@cm-ayf cm-ayf marked this pull request as draft January 28, 2024 10:04
@cm-ayf cm-ayf changed the title use structuredClone and toRaw instead of JSON JSON.parse(JSON.stringify())の代わりにstructuredClone(toRaw())を使う Jan 28, 2024
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こちら原因わかりそうでしょうか・・・?

e2eテストから察するに、起動に失敗しているようでした。
となると原因候補はDefaultStyleSelectDialog.vueGENERATE_AUDIOだと思います。

その上で普通にnpm run electron:serverが起動するのであれば、おそらくDefaultStyleSelectDialog.vueが原因かなと。
デフォルトスタイル選択ダイアログは初回起動時に現れるのでそこで落ちてる気がします。
普通に起動できた場合は、デフォルトスタイル選択ダイアログを開こうとしてらエラーになるかもです。

なにかヒントになれば!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants