Electron / Atom

Build Error npm ERR! Failed at the nslog@3.0.0 install script 'node-gyp rebuild'.

NOTE: if you see the error after npm install, it's because there is a problem when building node-gyp on some Windows machines.

Try to delete the 'node_modules' folder, and call npm install from a "VS2013 x86 Native Tools Command Prompt" window (found in VS2013 installation).

See related issue on Githubarrow-up-right

How to use bootstrap?

// use jquery
import $ from 'jquery';

// use bootstrap with jqeury
global.jQuery = require('jquery');
require('bootstrap');

How to use Select2 or Jquery?

  1. install npm package: npm install select2

  2. reference css file in app.html: `

  3. require the package so webpack will pack it: import S2 from 'select2'

Atom

How to build custom syntax file for Atom Editor

Last updated