docs(sofware-templates): improves instruction for --no-node-snapshot

Signed-off-by: Jonathan Nagayoshi <jonathan@nagayoshi.com.br>
This commit is contained in:
Jonathan Nagayoshi
2024-10-25 16:22:45 -05:00
committed by GitHub
parent a55da3189e
commit f415c7b9c9
+3 -1
View File
@@ -25,7 +25,9 @@ locations like GitHub or GitLab.
If you're running Backstage with Node 20 or later, you'll need to pass the flag `--no-node-snapshot` to Node in order to
use the templates feature.
One way to do this is to specify the `NODE_OPTIONS` environment variable before starting Backstage:
`export NODE_OPTIONS=--no-node-snapshot`
`export NODE_OPTIONS="$NODE_OPTIONS --no-node-snapshot"`
> It's important to append to the existing `NODE_OPTIONS` value, if it's already set, rather than overwriting it, since some NodeJS Debugging tools may rely on this environment variable to work properly.
:::