Skip to content

Instantly share code, notes, and snippets.

@Costava
Last active November 27, 2018 07:38
Show Gist options
  • Save Costava/12f8885ebd346705258a84703549fecb to your computer and use it in GitHub Desktop.
Save Costava/12f8885ebd346705258a84703549fecb to your computer and use it in GitHub Desktop.

The 'Hacking on Atom Core' page: https://flight-manual.atom.io/hacking-atom/sections/hacking-on-atom-core/#platform-windows

If you are getting an error when running script\bootstrap, you might need to install some dependencies first.

Maybe an error with process.dlopen:

module.js:664
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: The specified procedure could not be found.

Maybe an error with oniguruma failing to install,
Or a different error,

  • Try installing all the build dependencies and doing all the build configuration listed on the 'Hacking on Atom Core' page.
    • Multiple options are listed for "C++ build tools". Some require you to create an account and/or login to access the download. Currently, you can download the "Microsoft Build Tools 2015 Update 3" at https://visualstudio.microsoft.com/vs/older-downloads/ under the heading "Redistributables and Build Tools" without logging in. When you run it, be sure to install the "Windows 8 SDK" as per the 'Hacking on Atom Core' page.
  • You should already have Python 2 installed. It should probably be in your path. If it is in the default install location (C:\Python27), it may be found anyway.
  • You can try installing the same version of node as apm will use. Node v8.9.3 currently. The apm repo has a file that gives this version https://github.com/atom/apm/blob/master/BUNDLED_NODE_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment