Skip to content

Commit 9bb331d

Browse files
committed
Add note abt setting NODE_PATH env var
1 parent bb2c151 commit 9bb331d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tools/scripts/print_node_dir

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020

2121
/*
2222
* Script to print the Node.js directory path.
23+
*
24+
* ## Notes
25+
*
26+
* - When invoking this script, be sure to set the `NODE_PATH` environment variable to include project package directory. Otherwise, if the `NODE_PATH` does not include the project package directory, imported modules may not be resolved.
2327
*/
2428
'use strict';
2529

tools/scripts/repl_lang_stats

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020

2121
/*
2222
* Script to analyze the REPL namespace.
23+
*
24+
* ## Notes
25+
*
26+
* - When invoking this script, be sure to set the `NODE_PATH` environment variable to include project package directory. Otherwise, if the `NODE_PATH` does not include the project package directory, imported modules may not be resolved.
2327
*/
2428
'use strict';
2529

0 commit comments

Comments
 (0)