I\'m trying to make an Electron application (https://electron.atom.io/) that reads data from my serial port. I\'m new to web technologies in general, I know some javascript,
Create file .npmrc
with content:
runtime = electron
target = 1.7.5
target_arch = x64
disturl = https://atom.io/download/atom-shell
export npm_config_runtime=electron
export npm_config_build_from_source=true
Open another terminal and run npm install [yourpackage]
Keep in mind, some new packages would be installed with highest electron version (target), so save yourself some headache/backache and update your target =
with the current version stated on npm or github page.