Open mlejva opened 3 months ago
I've attempted this.
Deno Jupyter kernel is installing and registering correctly, but unable to execute any code (in Docker). See: https://github.com/denoland/deno/issues/25325
@mlejva What's the correct way to await code execution?
The JavaScript runtime is currently based on ijavascript kernel runtime. ijavascript kernel doesn't support
import
. Ideally, we should fix it andimport
should just work. Less ideally (and the "less" is big here), we need to put a disclaimer here for users.Similarly with
await
. Theawait
doesn't work in the top most scope. Eg running this codewill produce the following error
Deno's Jupyter kernel would tick both boxes (
import
and top-levelawait
): https://blog.jupyter.org/bringing-modern-javascript-to-the-jupyter-notebook-fc998095081eWe'd need to check if NPM dependencies work out of the box for users