From 3b963a8150e3c541859931a1ef9ecb338e46907f Mon Sep 17 00:00:00 2001 From: Maurizio Tomasi Date: Wed, 16 Dec 2020 17:05:59 +0100 Subject: Add note about minimum Node.js version (#16370) Fix the error message --- doc/backends.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/backends.rst b/doc/backends.rst index b50c7e38f..070cadbfd 100644 --- a/doc/backends.rst +++ b/doc/backends.rst @@ -93,7 +93,10 @@ file. However, you can also run the code with `nodejs`:idx: nim js -d:nodejs -r examples/hallo.nim +If you experience errors saying that ``globalThis`` is not defined, be +sure to run a recent version of Node.js (at least 12.0). + Interfacing =========== -- cgit 1.4.1-2-gfad0