Error loading preloads: Failed to fetch dynamically imported module:

Viewed 4176

While running Jupyter notebook cells on VS Code, it throws this error

Error loading preloads: 

 -  Failed to fetch dynamically imported module: https://file+.vscode-resource.vscode-webview.net/c%3A/Users/Acer/.vscode/extensions/ms-toolsai.jupyter-2021.9.1101343141/out/datascience-ui/errorRenderer/errorRenderer.js

It worked fine earlier but somehow it's throwing errors now and not showing the error from notebooks.

3 Answers

The culprit is Jupyter Notebook Renderers extension v 1.0.4.....rolling back v 1.0.3 solves the issue.

I installed Jupyter using Anaconda for my current environment, opened it once, and then I was able to use that environment in VS Code. Before I did that, I got that error in VS Code using the Jupyter plug in, set to the correct environment. I did not update or revert any extensions in VS Code.

Restarting VS Code may solve the issue.

Related