File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,12 @@ Congratulations! You have successfully compiled and run your first Scala.js appl
8181The code is actually run by a JavaScript interpreter, namely Node.
8282
8383** Source maps in Node.js** : To get your stack traces resolved on Node.js, you will have to install the ` source-map-support ` package.
84+ It is usually best to install it locally for this project.
85+ You can initialize a private ` package.json ` as follows:
86+
87+ $ npm init private
88+
89+ Then you can install ` source-map-support ` :
8490
8591 $ npm install source-map-support
8692
@@ -335,13 +341,7 @@ jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv()
335341{% endhighlight %}
336342
337343This will use the [ ` jsdom ` ] ( https://github.com/jsdom/jsdom ) library to simulate a DOM in Node.js.
338- You need to install it separately.
339- It is usually best to install it locally for this project.
340- You can initialize a private ` package.json ` as follows:
341-
342- $ npm init private
343-
344- Then you can install jsdom:
344+ Note that you need to install it separately using
345345
346346 $ npm install jsdom
347347
You can’t perform that action at this time.
0 commit comments