JupyterLab: HTML Webpack Plugin: Type Error

Hi everyone, I have a problem when starting JupyterLab. When my browser opens it shows

Html Webpack Plugin:

TypeError: The ‘compilation’ argument must be an instance of Compilation

  • JavascriptModulesPlugin.js:119 getCompilationHooks
    [staging]/[webpack]/lib/javascript/JavascriptModulesPlugin.js:119:10

  • CommonJsChunkFormatPlugin.js:30
    [staging]/[webpack]/lib/javascript/CommonJsChunkFormatPlugin.js:30:19

  • Hook.js:14 Hook.CALL_DELEGATE [as _call]
    [staging]/[tapable]/lib/Hook.js:14:14

  • Compiler.js:987 Compiler.newCompilation
    [staging]/[webpack]/lib/Compiler.js:987:30

  • Compiler.js:1029
    [staging]/[webpack]/lib/Compiler.js:1029:29

  • Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
    [staging]/[tapable]/lib/Hook.js:18:14

  • Compiler.js:1024 Compiler.compile
    [staging]/[webpack]/lib/Compiler.js:1024:28

  • Compiler.js:495 Compiler.runAsChild
    [staging]/[webpack]/lib/Compiler.js:495:8

Has anyone encountered a similar problem before?

We thought we had a fix in JupyterLab 3.0.6, but it seems people are still having issues. We’re discussing this over at Jupyter lab failed to build · Issue #9698 · jupyterlab/jupyterlab · GitHub. If JupyterLab 3.0.6 does not solve the issue for you, feel free to come by that issue and help us narrow down what might be causing this.