Skip to content

leshow/node-gyp-err

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-quick-start

Repo for replicating issue w/ electron 2.0.2 and native-modules using node-pre-gyp

Follow the steps here EXACTLY:

# Clone this repository
git clone https://github.com/leshow/electron-quick-start
# Go into the repository
cd electron-quick-start
# Install dependencies
npm install --arch=ia32
# set native module deps
export npm_config_target=2.0.2
export npm_config_arch=ia32
export npm_config_target_arch=ia32
export npm_config_disturl=https://atom.io/download/electron
export npm_config_runtime=electron
export npm_config_build_from_source=true
#install lzma-native
npm i lzma-native@3.0.8
# Run the app
npm start

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

Resources for Learning Electron

License

CC0 1.0 (Public Domain)

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.7%
  • HTML 23.3%