[LabBuildApp] JupyterLab 2.2.8 [LabBuildApp] Building in C:\Users\xxx\AppData\Roaming\Python\share\jupyter\lab [LabBuildApp] Building jupyterlab assets (build:prod:minimize) \Exception in thread Thread-7: Traceback (most recent call last): File "c:\program files\python38\lib\threading.py", line 932, in _bootstrap_inner self.run() File "c:\program files\python38\lib\threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "c:\program files\python38\lib\subprocess.py", line 1366, in _readerthread buffer.append(fh.read()) UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 281: illegal multibyte sequence Build failed. Troubleshooting: If the build failed due to an out-of-memory error, you may be able to fix it by disabling the `dev_build` and/or `minimize` options. If you are building via the `jupyter lab build` command, you can disable these options like so: jupyter lab build --dev-build=False --minimize=False You can also disable these options for all JupyterLab builds by adding these lines to a Jupyter config file named `jupyter_config.py`: c.LabBuildApp.minimize = False c.LabBuildApp.dev_build = False If you don't already have a `jupyter_config.py` file, you can create one by adding a blank file of that name to any of the Jupyter config directories. The config directories can be listed by running:
jupyter --paths
Explanation:
- `dev-build`: This option controls whether a `dev` or a more streamlined `production` build is used. This option will default to `False` (ie the `production` build) for most users. However, if you have any labextensions installed from local files, this option will instead default to `True`. Explicitly setting `dev-build` to `False` will ensure that the `production` build is used in all circumstances.
- `minimize`: This option controls whether your JS bundle is minified during the Webpack build, which helps to improve JupyterLab's overall performance. However, the minifier plugin used by Webpack is very memory intensive, so turning it off may help the build finish successfully in low-memory environments. An error occured. IndexError: list index out of range See the log file for details: C:\Users\xxx\AppData\Local\Temp\jupyterlab-debug-uqrv_41g.log