lenra-io/server

[Bug]: Listener call returns an error

オープン

#573 opened on 2024/01/07

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Elixir (0 件のフォーク)auto 404
buggood first issue

Repository metrics

Stars
 (6 個のスター)
PR merge metrics
 (PR metrics pending)

説明

What happened?

I was testing the template-bun on this commit : https://github.com/lenra-io/template-bun-js/commit/3e1067122107e3fdebb48e1aed3fa02b29a98048

It seems that when opening the application page, you can't click more than once on the increment button. An error occurs and if you wait a little (5 seconds), it will actually register the event properly. If you let time for the app page to initialise, this error does not occur.

https://github.com/lenra-io/lenra_cli/assets/36544012/d48c72cc-ce45-4611-8b7d-ee92f3a1572e

LOGS

Client

Error: Expected a value of type 'String', but got one of type 'Null'
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3       throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 127:3       castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 818:12  cast
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 674:17                as
packages/client_common/api/response_models/api_error.dart 14:17                   fromJson
packages/lenra_ui_runner/io_components/lenra_route.dart 47:26

What browsers are you seeing the problem on?

No response

Version

No response

Relevant log output

No response

コントリビューターガイド