Skip to content

Commit

Permalink
馃摑 Fix two 404ing links to the GraalVM docs (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
StarfallProjects committed Sep 4, 2021
1 parent 265069d commit 814ae58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/setup/pages/install.adoc
Expand Up @@ -71,7 +71,7 @@ const asciidoctor = Asciidoctor()

=== Node.js application

https://www.graalvm.org/docs/reference-manual/languages/js/[GraalVM can run Node.js applications]. +
https://www.graalvm.org/reference-manual/js/[GraalVM can run Node.js applications]. +
To install `asciidoctor.js` module, use the `npm` executable in the [.path]_/bin_ folder of the GraalVM package.

Create the following code snippet to a file named `app.js` and save it in the same directory where you installed the Node.js modules:
Expand All @@ -89,7 +89,7 @@ Then execute it on GraalVM using the `node` command (available in the [.path]_/b

=== Embed in a JVM-based application

https://www.graalvm.org/docs/graalvm-as-a-platform/embed/[With the Graal Polyglot API, you can embed JavaScript code in a JVM-based application].
https://www.graalvm.org/reference-manual/embed-languages/[With the Graal Polyglot API, you can embed JavaScript code in a JVM-based application].

IMPORTANT: The Graal Polyglot feature gives you a "pure" JavaScript (ECMAScript) engine, not a Node.js engine.
In other words, Node.js features such as `require` or core module such as `fs` won't be available.
Expand Down

0 comments on commit 814ae58

Please sign in to comment.