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.
- electronjs.org/docs - all of Electron's documentation
- electronjs.org/community#boilerplates - sample starter apps created by the community
- electron/electron-quick-start - a very basic starter Electron app
- electron/simple-samples - small applications with ideas for taking them further
- electron/electron-api-demos - an Electron app that teaches you how to use Electron
- hokein/electron-sample-apps - small demo apps for the various Electron APIs