summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMaurizio Tomasi <ziotom78@gmail.com>2020-12-16 17:05:59 +0100
committerGitHub <noreply@github.com>2020-12-16 16:05:59 +0000
commit3b963a8150e3c541859931a1ef9ecb338e46907f (patch)
tree08774d0e792a05668bcc63005f8a6b67f2bab944
parent9ef7c0182058141b81a41e32b699be8f2e42f3e9 (diff)
downloadNim-3b963a8150e3c541859931a1ef9ecb338e46907f.tar.gz
Add note about minimum Node.js version (#16370)
Fix the error message
-rw-r--r--doc/backends.rst3
1 files changed, 3 insertions, 0 deletions
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
 ===========