The version of the js module in package.json must be greater than the pyproject.toml version.

Otherwise you will see “Widget model not found errors”

use

time npm run build:labextension:dev ``` when developing, it enables source-maps and is much faster