ExternalError: TypeError: a is null caused by Skulpt?

I guess Skulpt does not support merge of two dictionaries like in {**dict1, **dict2}, which causes the error?

Is it possible that in this case, your dict1 or dict2 is not actually a dict? You can check by printing their types.

Correct. Skulpt does not yet support this. See this feature request which also gives a suggested work around.

The good news is that we have a contribution in the pipeline to fix this within Skulpt.

We’ll update the above feature request when this goes live in anvil.

3 Likes