Browse Source

Merge pull request #7310 from BenV/patch-1

Add npm_config_target_arch to native module doc
Kevin Sawicki 8 years ago
parent
commit
fcd6fd9fd5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/tutorial/using-native-node-modules.md

+ 1 - 0
docs/tutorial/using-native-node-modules.md

@@ -21,6 +21,7 @@ An example of installing all dependencies for Electron:
 export npm_config_target=1.2.3
 # The architecture of Electron, can be ia32 or x64.
 export npm_config_arch=x64
+export npm_config_target_arch=x64
 # Download headers for Electron.
 export npm_config_disturl=https://atom.io/download/atom-shell
 # Tell node-pre-gyp that we are building for Electron.