atom / text-buffer

Atom's underlying text buffer
MIT License
144 stars 73 forks source link

Unable to link to atom dev environment #159

Open ruthgrace opened 8 years ago

ruthgrace commented 8 years ago

I have been trying to follow the instructions in the flight manual (http://flight-manual.atom.io/behind-atom/sections/developing-node-modules/) to link the text-buffer module to my atom dev environment, however I keep running into this error on the apm rebuild step.

text-buffer $ apm rebuild
Rebuilding modules ✗
npm WARN prefer global marked@0.3.5 should be installed with -g
npm WARN prefer global coffee-script@1.10.0 should be installed with -g
npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
node-pre-gyp ERR! install error 
node-pre-gyp ERR! stack Error: Unsupported target version: 0.37.8
node-pre-gyp ERR! stack     at get_runtime_abi (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:156:23)
node-pre-gyp ERR! stack     at Object.module.exports.evaluate (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:277:19)
node-pre-gyp ERR! stack     at install (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/install.js:138:31)
node-pre-gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js:48:37)
node-pre-gyp ERR! stack     at run (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:79:30)
node-pre-gyp ERR! stack     at Object.<anonymous> (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:131:1)
node-pre-gyp ERR! stack     at Module._compile (module.js:456:26)
node-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:474:10)
node-pre-gyp ERR! stack     at Module.load (module.js:356:32)
node-pre-gyp ERR! stack     at Function.Module._load (module.js:312:12)
node-pre-gyp ERR! System Darwin 15.5.0
node-pre-gyp ERR! command "node" "/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents
node-pre-gyp ERR! node -v v0.10.40
node-pre-gyp ERR! node-pre-gyp -v v0.6.25
node-pre-gyp ERR! not ok 

npm ERR! Darwin 15.5.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/dphamnyghonca/.atom/.apm/.apmrc" "--userconfig" "/Users/dphamnyghonca/.atom/.apmrc" "rebuild" "--target=0.37.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! fsevents@1.0.12 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the fsevents@1.0.12 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the fsevents package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls fsevents
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dphamnyghonca/Desktop/projects/text-buffer/npm-debug.log

The previous steps (npm install and npm link) appear to work fine, with some warnings.

I rebuilt atom today with the latest developer version on GitHub. Here is what I'm running:

text-buffer $ npm --version
3.9.5
text-buffer $ node --version
v6.2.2
text-buffer $ atom --version
apm Atom    : 1.10.0-dev-3fd0d30
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0
text-buffer $ apm --version
apm  1.10.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.7.4

Please let me know if there is any other information I should include here, or if I should format things differently. I would love to contribute to the text-buffer module in the future and any help in getting my dev environment set up is much appreciated! This bug is filed on the advice of @lee-dohm, based on conversation through Slack.

winstliu commented 8 years ago

I thought apm rebuild was only for Atom packages and not Node packages @lee-dohm?

ruthgrace commented 8 years ago

@50Wliu, Sorry I forgot to link the relevant flight manual page, which seems to be specific to node modules: http://flight-manual.atom.io/behind-atom/sections/developing-node-modules/

winstliu commented 8 years ago

Huh, ok then! Never knew that.

maxbrunsfeld commented 8 years ago

@ruthgrace Sorry I'm not quite sure what's going on here. Can you try removing your text-buffer/node_modules folder and re-running npm install, but using node version 5.x, instead of node 6 for the initial installation, and then re-running apm rebuild?

ruthgrace commented 8 years ago

Hi @maxbrunsfeld, Thanks so much for taking the time to look into this for me. I did as advised, and got this:

text-buffer $node --version
v5.12.0
text-buffer $ls             # making sure i removed the node_modules folder
Gruntfile.coffee api.json         package.json
LICENSE.md       appveyor.yml     spec
README.md        lib              src
text-buffer $npm install
npm install output (seemed to have installed with no problems) ``` npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN prefer global marked@0.3.5 should be installed with -g > fsevents@1.0.12 install /Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents > node-pre-gyp install --fallback-to-build [fsevents] Success: "/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node" is installed via remote > runas@3.1.1 install /Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/runas > node-gyp rebuild gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR CXX(target) Release/obj.target/runas/src/main.o CXX(target) Release/obj.target/runas/src/runas_darwin.o CXX(target) Release/obj.target/runas/src/fork.o SOLINK_MODULE(target) Release/runas.node > marker-index@4.0.0 install /Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/marker-index > node-gyp rebuild gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR CXX(target) Release/obj.target/marker_index/src/native/iterator.o CXX(target) Release/obj.target/marker_index/src/native/marker-index-wrapper.o CXX(target) Release/obj.target/marker_index/src/native/marker-index.o CXX(target) Release/obj.target/marker_index/src/native/node.o CXX(target) Release/obj.target/marker_index/src/native/point.o SOLINK_MODULE(target) Release/marker_index.node > pathwatcher@6.6.2 install /Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/pathwatcher > node-gyp rebuild gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR CXX(target) Release/obj.target/pathwatcher/src/main.o CXX(target) Release/obj.target/pathwatcher/src/common.o CXX(target) Release/obj.target/pathwatcher/src/handle_map.o CXX(target) Release/obj.target/pathwatcher/src/pathwatcher_unix.o SOLINK_MODULE(target) Release/pathwatcher.node > text-buffer@9.2.2 prepublish /Users/dphamnyghonca/Desktop/projects/text-buffer > npm run clean && npm run compile && npm run lint && npm run atomdoc > text-buffer@9.2.2 clean /Users/dphamnyghonca/Desktop/projects/text-buffer > grunt clean Running "clean" task Done, without errors. > text-buffer@9.2.2 compile /Users/dphamnyghonca/Desktop/projects/text-buffer > coffee --no-header --output lib --compile src && babel src --out-dir lib > text-buffer@9.2.2 lint /Users/dphamnyghonca/Desktop/projects/text-buffer > coffeelint -r src spec && eslint src spec ✓ src/display-layer.coffee ✓ src/display-marker-layer.coffee ✓ src/display-marker.coffee ✓ src/empty-decoration-layer.coffee ✓ src/helpers.coffee ✓ src/history.coffee ✓ src/is-character-pair.coffee ✓ src/marker-layer.coffee ✓ src/marker.coffee ✓ src/match-iterator.coffee ✓ src/patch.coffee ✓ src/point-helpers.coffee ✓ src/point.coffee ✓ src/range.coffee ✓ src/set-helpers.coffee ✓ src/text-buffer.coffee ✓ spec/display-layer-spec.coffee ✓ spec/display-marker-layer-spec.coffee ✓ spec/helpers/test-decoration-layer.coffee ✓ spec/marker-layer-spec.coffee ✓ spec/marker-spec.coffee ✓ spec/patch-spec.coffee ✓ spec/point-spec.coffee ✓ spec/range-spec.coffee ✓ spec/text-buffer-spec.coffee ✓ Ok! » 0 errors and 0 warnings in 25 files > text-buffer@9.2.2 atomdoc /Users/dphamnyghonca/Desktop/projects/text-buffer > grunt shell:update-atomdoc atomdoc Running "shell:update-atomdoc" (shell) task Running "atomdoc" task Done, without errors. text-buffer@9.2.2 /Users/dphamnyghonca/Desktop/projects/text-buffer ├── atom-patch@0.3.0 ├─┬ babel-cli@6.10.1 │ ├─┬ babel-core@6.10.4 │ │ ├─┬ babel-code-frame@6.11.0 │ │ │ └── js-tokens@2.0.0 │ │ ├─┬ babel-generator@6.11.0 │ │ │ └─┬ detect-indent@3.0.1 │ │ │ ├── get-stdin@4.0.1 │ │ │ └─┬ repeating@1.1.3 │ │ │ └── is-finite@1.0.1 │ │ ├── babel-helpers@6.8.0 │ │ ├── babel-messages@6.8.0 │ │ ├── babel-template@6.9.0 │ │ ├── json5@0.4.0 │ │ ├─┬ minimatch@3.0.2 │ │ │ └─┬ brace-expansion@1.1.5 │ │ │ ├── balanced-match@0.4.1 │ │ │ └── concat-map@0.0.1 │ │ ├── private@0.1.6 │ │ └── shebang-regex@1.0.0 │ ├─┬ babel-polyfill@6.9.1 │ │ └── regenerator-runtime@0.9.5 │ ├── babel-runtime@6.9.2 │ ├─┬ bin-version-check@2.1.0 │ │ ├─┬ bin-version@1.0.4 │ │ │ └─┬ find-versions@1.2.1 │ │ │ ├── array-uniq@1.0.3 │ │ │ ├─┬ meow@3.7.0 │ │ │ │ ├─┬ camelcase-keys@2.1.0 │ │ │ │ │ └── camelcase@2.1.1 │ │ │ │ ├── decamelize@1.2.0 │ │ │ │ ├─┬ loud-rejection@1.6.0 │ │ │ │ │ ├─┬ currently-unhandled@0.4.1 │ │ │ │ │ │ └── array-find-index@1.0.1 │ │ │ │ │ └── signal-exit@3.0.0 │ │ │ │ ├── map-obj@1.0.1 │ │ │ │ ├─┬ normalize-package-data@2.3.5 │ │ │ │ │ ├── hosted-git-info@2.1.5 │ │ │ │ │ ├─┬ is-builtin-module@1.0.0 │ │ │ │ │ │ └── builtin-modules@1.1.1 │ │ │ │ │ └─┬ validate-npm-package-license@3.0.1 │ │ │ │ │ ├─┬ spdx-correct@1.0.2 │ │ │ │ │ │ └── spdx-license-ids@1.2.1 │ │ │ │ │ └─┬ spdx-expression-parse@1.0.2 │ │ │ │ │ └── spdx-exceptions@1.0.4 │ │ │ │ ├─┬ read-pkg-up@1.0.1 │ │ │ │ │ ├─┬ find-up@1.1.2 │ │ │ │ │ │ └── path-exists@2.1.0 │ │ │ │ │ └─┬ read-pkg@1.1.0 │ │ │ │ │ ├─┬ load-json-file@1.1.0 │ │ │ │ │ │ ├─┬ parse-json@2.2.0 │ │ │ │ │ │ │ └─┬ error-ex@1.3.0 │ │ │ │ │ │ │ └── is-arrayish@0.2.1 │ │ │ │ │ │ └─┬ strip-bom@2.0.0 │ │ │ │ │ │ └── is-utf8@0.2.1 │ │ │ │ │ └── path-type@1.1.0 │ │ │ │ ├─┬ redent@1.0.0 │ │ │ │ │ ├─┬ indent-string@2.1.0 │ │ │ │ │ │ └── repeating@2.0.1 │ │ │ │ │ └── strip-indent@1.0.1 │ │ │ │ └── trim-newlines@1.0.0 │ │ │ └── semver-regex@1.0.0 │ │ ├── minimist@1.2.0 │ │ ├── semver@4.3.6 │ │ └─┬ semver-truncate@1.1.0 │ │ └── semver@5.2.0 │ ├─┬ chalk@1.1.1 │ │ ├── ansi-styles@2.2.1 │ │ ├── escape-string-regexp@1.0.5 │ │ ├── has-ansi@2.0.0 │ │ ├── strip-ansi@3.0.1 │ │ └── supports-color@2.0.0 │ ├─┬ chokidar@1.6.0 │ │ ├─┬ anymatch@1.3.0 │ │ │ ├── arrify@1.0.1 │ │ │ └─┬ micromatch@2.3.10 │ │ │ ├─┬ arr-diff@2.0.0 │ │ │ │ └── arr-flatten@1.0.1 │ │ │ ├── array-unique@0.2.1 │ │ │ ├─┬ braces@1.8.5 │ │ │ │ ├─┬ expand-range@1.8.2 │ │ │ │ │ └─┬ fill-range@2.2.3 │ │ │ │ │ ├── is-number@2.1.0 │ │ │ │ │ ├── isobject@2.1.0 │ │ │ │ │ ├── randomatic@1.1.5 │ │ │ │ │ └── repeat-string@1.5.4 │ │ │ │ ├── preserve@0.2.0 │ │ │ │ └── repeat-element@1.1.2 │ │ │ ├─┬ expand-brackets@0.1.5 │ │ │ │ └── is-posix-bracket@0.1.1 │ │ │ ├── extglob@0.3.2 │ │ │ ├── filename-regex@2.0.0 │ │ │ ├─┬ kind-of@3.0.3 │ │ │ │ └── is-buffer@1.1.3 │ │ │ ├── normalize-path@2.0.1 │ │ │ ├─┬ object.omit@2.0.0 │ │ │ │ ├─┬ for-own@0.1.4 │ │ │ │ │ └── for-in@0.1.5 │ │ │ │ └── is-extendable@0.1.1 │ │ │ ├─┬ parse-glob@3.0.4 │ │ │ │ ├── glob-base@0.3.0 │ │ │ │ └── is-dotfile@1.0.2 │ │ │ └─┬ regex-cache@0.4.3 │ │ │ ├── is-equal-shallow@0.1.3 │ │ │ └── is-primitive@2.0.0 │ │ ├── async-each@1.0.0 │ │ ├─┬ fsevents@1.0.12 │ │ │ └─┬ node-pre-gyp@0.6.25 │ │ │ ├─┬ mkdirp@0.5.1 │ │ │ │ └── minimist@0.0.8 │ │ │ ├─┬ nopt@3.0.6 │ │ │ │ └── abbrev@1.0.7 │ │ │ ├─┬ npmlog@2.0.3 │ │ │ │ ├── ansi@0.3.1 │ │ │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ │ │ └── delegates@1.0.0 │ │ │ │ └─┬ gauge@1.2.7 │ │ │ │ ├── has-unicode@2.0.0 │ │ │ │ ├─┬ lodash.pad@4.1.0 │ │ │ │ │ ├── lodash.repeat@4.0.0 │ │ │ │ │ └── lodash.tostring@4.1.2 │ │ │ │ ├── lodash.padend@4.2.0 │ │ │ │ └── lodash.padstart@4.2.0 │ │ │ ├─┬ rc@1.1.6 │ │ │ │ ├── deep-extend@0.4.1 │ │ │ │ ├── ini@1.3.4 │ │ │ │ ├── minimist@1.2.0 │ │ │ │ └── strip-json-comments@1.0.4 │ │ │ ├─┬ request@2.69.0 │ │ │ │ ├── aws-sign2@0.6.0 │ │ │ │ ├─┬ aws4@1.3.2 │ │ │ │ │ └─┬ lru-cache@4.0.1 │ │ │ │ │ ├── pseudomap@1.0.2 │ │ │ │ │ └── yallist@2.0.0 │ │ │ │ ├── bl@1.0.3 │ │ │ │ ├── caseless@0.11.0 │ │ │ │ ├─┬ combined-stream@1.0.5 │ │ │ │ │ └── delayed-stream@1.0.0 │ │ │ │ ├── extend@3.0.0 │ │ │ │ ├── forever-agent@0.6.1 │ │ │ │ ├─┬ form-data@1.0.0-rc4 │ │ │ │ │ └── async@1.5.2 │ │ │ │ ├─┬ har-validator@2.0.6 │ │ │ │ │ ├─┬ chalk@1.1.3 │ │ │ │ │ │ ├── ansi-styles@2.2.1 │ │ │ │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ │ │ ├── strip-ansi@3.0.1 │ │ │ │ │ │ └── supports-color@2.0.0 │ │ │ │ │ ├─┬ commander@2.9.0 │ │ │ │ │ │ └── graceful-readlink@1.0.1 │ │ │ │ │ ├─┬ is-my-json-valid@2.13.1 │ │ │ │ │ │ ├── generate-function@2.0.0 │ │ │ │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ │ │ │ └── is-property@1.0.2 │ │ │ │ │ │ ├── jsonpointer@2.0.0 │ │ │ │ │ │ └── xtend@4.0.1 │ │ │ │ │ └─┬ pinkie-promise@2.0.0 │ │ │ │ │ └── pinkie@2.0.4 │ │ │ │ ├─┬ hawk@3.1.3 │ │ │ │ │ ├── boom@2.10.1 │ │ │ │ │ ├── cryptiles@2.0.5 │ │ │ │ │ ├── hoek@2.16.3 │ │ │ │ │ └── sntp@1.0.9 │ │ │ │ ├─┬ http-signature@1.1.1 │ │ │ │ │ ├── assert-plus@0.2.0 │ │ │ │ │ ├─┬ jsprim@1.2.2 │ │ │ │ │ │ ├── extsprintf@1.0.2 │ │ │ │ │ │ ├── json-schema@0.2.2 │ │ │ │ │ │ └── verror@1.3.6 │ │ │ │ │ └─┬ sshpk@1.7.4 │ │ │ │ │ ├── asn1@0.2.3 │ │ │ │ │ ├─┬ dashdash@1.13.0 │ │ │ │ │ │ └── assert-plus@1.0.0 │ │ │ │ │ ├── ecc-jsbn@0.1.1 │ │ │ │ │ ├── jodid25519@1.0.2 │ │ │ │ │ ├── jsbn@0.1.0 │ │ │ │ │ └── tweetnacl@0.14.3 │ │ │ │ ├── is-typedarray@1.0.0 │ │ │ │ ├── isstream@0.1.2 │ │ │ │ ├── json-stringify-safe@5.0.1 │ │ │ │ ├─┬ mime-types@2.1.10 │ │ │ │ │ └── mime-db@1.22.0 │ │ │ │ ├── node-uuid@1.4.7 │ │ │ │ ├── oauth-sign@0.8.1 │ │ │ │ ├── qs@6.0.2 │ │ │ │ ├── stringstream@0.0.5 │ │ │ │ ├── tough-cookie@2.2.2 │ │ │ │ └── tunnel-agent@0.4.2 │ │ │ ├─┬ rimraf@2.5.2 │ │ │ │ └─┬ glob@7.0.3 │ │ │ │ ├─┬ inflight@1.0.4 │ │ │ │ │ └── wrappy@1.0.1 │ │ │ │ ├── inherits@2.0.1 │ │ │ │ ├─┬ minimatch@3.0.0 │ │ │ │ │ └─┬ brace-expansion@1.1.3 │ │ │ │ │ ├── balanced-match@0.3.0 │ │ │ │ │ └── concat-map@0.0.1 │ │ │ │ ├─┬ once@1.3.3 │ │ │ │ │ └── wrappy@1.0.1 │ │ │ │ └── path-is-absolute@1.0.0 │ │ │ ├── semver@5.1.0 │ │ │ ├─┬ tar@2.2.1 │ │ │ │ ├── block-stream@0.0.8 │ │ │ │ ├─┬ fstream@1.0.8 │ │ │ │ │ └── graceful-fs@4.1.3 │ │ │ │ └── inherits@2.0.1 │ │ │ └─┬ tar-pack@3.1.3 │ │ │ ├─┬ debug@2.2.0 │ │ │ │ └── ms@0.7.1 │ │ │ ├─┬ fstream-ignore@1.0.3 │ │ │ │ └─┬ minimatch@3.0.0 │ │ │ │ └─┬ brace-expansion@1.1.3 │ │ │ │ ├── balanced-match@0.3.0 │ │ │ │ └── concat-map@0.0.1 │ │ │ ├─┬ once@1.3.3 │ │ │ │ └── wrappy@1.0.1 │ │ │ ├─┬ readable-stream@2.0.6 │ │ │ │ ├── core-util-is@1.0.2 │ │ │ │ ├── isarray@1.0.0 │ │ │ │ ├── process-nextick-args@1.0.6 │ │ │ │ ├── string_decoder@0.10.31 │ │ │ │ └── util-deprecate@1.0.2 │ │ │ └── uid-number@0.0.6 │ │ ├── glob-parent@2.0.0 │ │ ├── inherits@2.0.1 │ │ ├─┬ is-binary-path@1.0.1 │ │ │ └── binary-extensions@1.5.0 │ │ ├─┬ is-glob@2.0.1 │ │ │ └── is-extglob@1.0.0 │ │ └─┬ readdirp@2.1.0 │ │ ├─┬ readable-stream@2.1.4 │ │ │ └── buffer-shims@1.0.0 │ │ └── set-immediate-shim@1.0.1 │ ├─┬ commander@2.9.0 │ │ └── graceful-readlink@1.0.1 │ ├── convert-source-map@1.2.0 │ ├── fs-readdir-recursive@0.1.2 │ ├─┬ glob@5.0.15 │ │ ├─┬ inflight@1.0.5 │ │ │ └── wrappy@1.0.2 │ │ └── once@1.3.3 │ ├── lodash@4.13.1 │ ├── log-symbols@1.0.2 │ ├─┬ output-file-sync@1.1.2 │ │ ├── graceful-fs@4.1.4 │ │ └─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├── path-exists@1.0.0 │ ├── path-is-absolute@1.0.0 │ ├─┬ request@2.72.0 │ │ ├── aws-sign2@0.6.0 │ │ ├── aws4@1.4.1 │ │ ├─┬ bl@1.1.2 │ │ │ └── readable-stream@2.0.6 │ │ ├── caseless@0.11.0 │ │ ├─┬ combined-stream@1.0.5 │ │ │ └── delayed-stream@1.0.0 │ │ ├── extend@3.0.0 │ │ ├── forever-agent@0.6.1 │ │ ├─┬ form-data@1.0.0-rc4 │ │ │ └── async@1.5.2 │ │ ├─┬ har-validator@2.0.6 │ │ │ └─┬ pinkie-promise@2.0.1 │ │ │ └── pinkie@2.0.4 │ │ ├─┬ hawk@3.1.3 │ │ │ ├── boom@2.10.1 │ │ │ ├── cryptiles@2.0.5 │ │ │ ├── hoek@2.16.3 │ │ │ └── sntp@1.0.9 │ │ ├─┬ http-signature@1.1.1 │ │ │ ├── assert-plus@0.2.0 │ │ │ ├─┬ jsprim@1.3.0 │ │ │ │ ├── extsprintf@1.0.2 │ │ │ │ ├── json-schema@0.2.2 │ │ │ │ └── verror@1.3.6 │ │ │ └─┬ sshpk@1.8.3 │ │ │ ├── asn1@0.2.3 │ │ │ ├── assert-plus@1.0.0 │ │ │ ├─┬ dashdash@1.14.0 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── ecc-jsbn@0.1.1 │ │ │ ├─┬ getpass@0.1.6 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── jodid25519@1.0.2 │ │ │ ├── jsbn@0.1.0 │ │ │ └── tweetnacl@0.13.3 │ │ ├── is-typedarray@1.0.0 │ │ ├── isstream@0.1.2 │ │ ├── json-stringify-safe@5.0.1 │ │ ├─┬ mime-types@2.1.11 │ │ │ └── mime-db@1.23.0 │ │ ├── node-uuid@1.4.7 │ │ ├── oauth-sign@0.8.2 │ │ ├── qs@6.1.0 │ │ ├── stringstream@0.0.5 │ │ ├── tough-cookie@2.2.2 │ │ └── tunnel-agent@0.4.3 │ ├── slash@1.0.0 │ ├── source-map@0.5.6 │ └─┬ v8flags@2.0.11 │ └── user-home@1.1.1 ├─┬ babel-eslint@5.0.4 │ ├── acorn-to-esprima@2.0.8 │ ├─┬ babel-traverse@6.10.4 │ │ └─┬ invariant@2.2.1 │ │ └─┬ loose-envify@1.2.0 │ │ └── js-tokens@1.0.3 │ ├─┬ babel-types@6.11.1 │ │ └── to-fast-properties@1.0.2 │ ├── babylon@6.8.4 │ ├─┬ lodash.assign@3.2.0 │ │ ├─┬ lodash._baseassign@3.2.0 │ │ │ └── lodash._basecopy@3.0.1 │ │ ├─┬ lodash._createassigner@3.1.1 │ │ │ └── lodash._isiterateecall@3.0.9 │ │ └─┬ lodash.keys@3.1.2 │ │ ├── lodash._getnative@3.9.1 │ │ ├── lodash.isarguments@3.0.8 │ │ └── lodash.isarray@3.0.4 │ └─┬ lodash.pick@3.1.0 │ ├── lodash._baseflatten@3.1.4 │ ├── lodash._bindcallback@3.0.1 │ ├── lodash._pickbyarray@3.0.2 │ ├─┬ lodash._pickbycallback@3.0.0 │ │ ├── lodash._basefor@3.0.3 │ │ └── lodash.keysin@3.0.8 │ └── lodash.restparam@3.6.1 ├─┬ babel-preset-es2015@6.9.0 │ ├── babel-plugin-check-es2015-constants@6.8.0 │ ├── babel-plugin-transform-es2015-arrow-functions@6.8.0 │ ├── babel-plugin-transform-es2015-block-scoped-functions@6.8.0 │ ├── babel-plugin-transform-es2015-block-scoping@6.10.1 │ ├─┬ babel-plugin-transform-es2015-classes@6.9.0 │ │ ├── babel-helper-define-map@6.9.0 │ │ ├── babel-helper-function-name@6.8.0 │ │ ├── babel-helper-optimise-call-expression@6.8.0 │ │ └── babel-helper-replace-supers@6.8.0 │ ├── babel-plugin-transform-es2015-computed-properties@6.8.0 │ ├── babel-plugin-transform-es2015-destructuring@6.9.0 │ ├── babel-plugin-transform-es2015-duplicate-keys@6.8.0 │ ├── babel-plugin-transform-es2015-for-of@6.8.0 │ ├── babel-plugin-transform-es2015-function-name@6.9.0 │ ├── babel-plugin-transform-es2015-literals@6.8.0 │ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.10.3 │ │ └── babel-plugin-transform-strict-mode@6.8.0 │ ├── babel-plugin-transform-es2015-object-super@6.8.0 │ ├─┬ babel-plugin-transform-es2015-parameters@6.9.0 │ │ ├─┬ babel-helper-call-delegate@6.8.0 │ │ │ └── babel-helper-hoist-variables@6.8.0 │ │ └── babel-helper-get-function-arity@6.8.0 │ ├── babel-plugin-transform-es2015-shorthand-properties@6.8.0 │ ├── babel-plugin-transform-es2015-spread@6.8.0 │ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.8.0 │ │ └── babel-helper-regex@6.9.0 │ ├── babel-plugin-transform-es2015-template-literals@6.8.0 │ ├── babel-plugin-transform-es2015-typeof-symbol@6.8.0 │ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.11.0 │ │ └─┬ regexpu-core@2.0.0 │ │ ├── regenerate@1.3.1 │ │ ├── regjsgen@0.2.0 │ │ └─┬ regjsparser@0.1.5 │ │ └── jsesc@0.5.0 │ └─┬ babel-plugin-transform-regenerator@6.9.0 │ └── babel-plugin-syntax-async-functions@6.8.0 ├─┬ babel-preset-stage-0@6.5.0 │ ├─┬ babel-plugin-transform-do-expressions@6.8.0 │ │ └── babel-plugin-syntax-do-expressions@6.8.0 │ ├─┬ babel-plugin-transform-function-bind@6.8.0 │ │ └── babel-plugin-syntax-function-bind@6.8.0 │ └─┬ babel-preset-stage-1@6.5.0 │ ├─┬ babel-plugin-transform-class-constructor-call@6.8.0 │ │ └── babel-plugin-syntax-class-constructor-call@6.8.0 │ ├─┬ babel-plugin-transform-class-properties@6.10.2 │ │ └── babel-plugin-syntax-class-properties@6.8.0 │ ├─┬ babel-plugin-transform-decorators@6.8.0 │ │ ├─┬ babel-helper-explode-class@6.8.0 │ │ │ └── babel-helper-bindify-decorators@6.8.0 │ │ └── babel-plugin-syntax-decorators@6.8.0 │ ├─┬ babel-plugin-transform-export-extensions@6.8.0 │ │ └── babel-plugin-syntax-export-extensions@6.8.0 │ └─┬ babel-preset-stage-2@6.11.0 │ ├─┬ babel-plugin-transform-object-rest-spread@6.8.0 │ │ └── babel-plugin-syntax-object-rest-spread@6.8.0 │ └─┬ babel-preset-stage-3@6.11.0 │ ├── babel-plugin-syntax-trailing-function-commas@6.8.0 │ ├─┬ babel-plugin-transform-async-to-generator@6.8.0 │ │ └── babel-helper-remap-async-to-generator@6.11.2 │ └─┬ babel-plugin-transform-exponentiation-operator@6.8.0 │ ├─┬ babel-helper-builder-binary-assignment-operator-visitor@6.8.0 │ │ └── babel-helper-explode-assignable-expression@6.8.0 │ └── babel-plugin-syntax-exponentiation-operator@6.8.0 ├─┬ babel-register@6.9.0 │ ├── core-js@2.4.0 │ ├── home-or-tmp@1.0.0 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ └─┬ source-map-support@0.2.10 │ └─┬ source-map@0.1.32 │ └── amdefine@1.0.0 ├─┬ coffee-cache@0.2.0 │ └── mkpath@0.1.0 ├── coffee-script@1.10.0 ├─┬ coffeelint@1.15.7 │ ├─┬ glob@4.5.3 │ │ └── minimatch@2.0.10 │ ├── ignore@3.1.3 │ ├─┬ optimist@0.6.1 │ │ ├── minimist@0.0.10 │ │ └── wordwrap@0.0.3 │ ├── resolve@0.6.3 │ └── strip-json-comments@1.0.4 ├─┬ delegato@1.0.0 │ └── mixto@1.0.0 ├── diff@2.2.3 ├── display-index@0.1.0 ├─┬ emissary@1.3.3 │ ├─┬ es6-weak-map@0.1.4 │ │ ├── d@0.1.1 │ │ ├─┬ es5-ext@0.10.12 │ │ │ ├── es6-iterator@2.0.0 │ │ │ └── es6-symbol@3.1.0 │ │ ├── es6-iterator@0.1.3 │ │ └── es6-symbol@2.0.1 │ └── property-accessors@1.1.3 ├── es6-promise@3.2.1 ├─┬ eslint@2.2.0 │ ├─┬ concat-stream@1.5.1 │ │ ├─┬ readable-stream@2.0.6 │ │ │ ├── core-util-is@1.0.2 │ │ │ ├── process-nextick-args@1.0.7 │ │ │ ├── string_decoder@0.10.31 │ │ │ └── util-deprecate@1.0.2 │ │ └── typedarray@0.0.6 │ ├─┬ debug@2.2.0 │ │ └── ms@0.7.1 │ ├─┬ doctrine@1.2.2 │ │ ├── esutils@1.1.6 │ │ └── isarray@1.0.0 │ ├─┬ es6-map@0.1.4 │ │ ├── es6-iterator@2.0.0 │ │ ├─┬ es6-set@0.1.4 │ │ │ ├── es6-iterator@2.0.0 │ │ │ └── es6-symbol@3.1.0 │ │ ├── es6-symbol@3.1.0 │ │ └── event-emitter@0.3.4 │ ├─┬ escope@3.6.0 │ │ ├─┬ es6-weak-map@2.0.1 │ │ │ ├── es6-iterator@2.0.0 │ │ │ └── es6-symbol@3.1.0 │ │ └─┬ esrecurse@4.1.0 │ │ └── estraverse@4.1.1 │ ├─┬ espree@3.1.6 │ │ ├── acorn@3.2.0 │ │ └── acorn-jsx@3.0.1 │ ├── estraverse@4.2.0 │ ├── estraverse-fb@1.3.1 │ ├── esutils@2.0.2 │ ├─┬ file-entry-cache@1.2.4 │ │ └─┬ flat-cache@1.0.10 │ │ ├─┬ del@2.2.1 │ │ │ ├─┬ globby@5.0.0 │ │ │ │ ├── array-union@1.0.2 │ │ │ │ └─┬ glob@7.0.5 │ │ │ │ └── fs.realpath@1.0.0 │ │ │ ├── is-path-cwd@1.0.0 │ │ │ ├─┬ is-path-in-cwd@1.0.0 │ │ │ │ └── is-path-inside@1.0.0 │ │ │ └── pify@2.3.0 │ │ ├── read-json-sync@1.1.1 │ │ └─┬ write@0.2.1 │ │ └─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├── glob@6.0.4 │ ├── globals@8.18.0 │ ├── ignore@2.2.19 │ ├─┬ inquirer@0.12.0 │ │ ├── ansi-escapes@1.4.0 │ │ ├── ansi-regex@2.0.0 │ │ ├─┬ cli-cursor@1.0.2 │ │ │ └─┬ restore-cursor@1.0.1 │ │ │ ├── exit-hook@1.1.1 │ │ │ └── onetime@1.1.0 │ │ ├── cli-width@2.1.0 │ │ ├── figures@1.7.0 │ │ ├─┬ readline2@1.0.1 │ │ │ ├─┬ code-point-at@1.0.0 │ │ │ │ └── number-is-nan@1.0.0 │ │ │ ├── is-fullwidth-code-point@1.0.0 │ │ │ └── mute-stream@0.0.5 │ │ ├── run-async@0.1.0 │ │ ├── rx-lite@3.1.2 │ │ ├── string-width@1.0.1 │ │ └── through@2.3.8 │ ├─┬ is-my-json-valid@2.13.1 │ │ ├── generate-function@2.0.0 │ │ ├─┬ generate-object-property@1.2.0 │ │ │ └── is-property@1.0.2 │ │ ├── jsonpointer@2.0.0 │ │ └── xtend@4.0.1 │ ├─┬ is-resolvable@1.0.0 │ │ └── tryit@1.0.2 │ ├─┬ js-yaml@3.6.1 │ │ ├─┬ argparse@1.0.7 │ │ │ └── sprintf-js@1.0.3 │ │ └── esprima@2.7.2 │ ├─┬ json-stable-stringify@1.0.1 │ │ └── jsonify@0.0.0 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├─┬ optionator@0.8.1 │ │ ├── deep-is@0.1.3 │ │ ├── fast-levenshtein@1.1.3 │ │ ├── levn@0.3.0 │ │ ├── prelude-ls@1.1.2 │ │ ├── type-check@0.3.2 │ │ └── wordwrap@1.0.0 │ ├── path-is-inside@1.0.1 │ ├── pluralize@1.2.1 │ ├── progress@1.1.8 │ ├─┬ require-uncached@1.0.2 │ │ ├─┬ caller-path@0.1.0 │ │ │ └── callsites@0.2.0 │ │ └── resolve-from@1.0.1 │ ├── resolve@1.1.7 │ ├── shelljs@0.5.3 │ ├─┬ table@3.7.8 │ │ ├── bluebird@3.4.1 │ │ ├── slice-ansi@0.0.4 │ │ ├── tv4@1.2.7 │ │ └── xregexp@3.1.1 │ ├── text-table@0.2.0 │ └─┬ user-home@2.0.0 │ └── os-homedir@1.0.1 ├── eslint-config-standard@5.1.0 ├── eslint-plugin-promise@1.3.2 ├── eslint-plugin-standard@1.3.1 ├── event-kit@1.5.0 ├─┬ fs-plus@2.9.1 │ ├── async@0.2.10 │ └── mkdirp@0.3.5 ├── grim@1.5.0 ├─┬ grunt@0.4.5 │ ├── async@0.1.22 │ ├── coffee-script@1.3.3 │ ├── colors@0.6.2 │ ├── dateformat@1.0.2-1.2.3 │ ├── eventemitter2@0.4.14 │ ├── exit@0.1.2 │ ├─┬ findup-sync@0.1.3 │ │ ├─┬ glob@3.2.11 │ │ │ └── minimatch@0.3.0 │ │ └── lodash@2.4.2 │ ├── getobject@0.1.0 │ ├─┬ glob@3.1.21 │ │ ├── graceful-fs@1.2.3 │ │ └── inherits@1.0.2 │ ├─┬ grunt-legacy-log@0.1.3 │ │ ├─┬ grunt-legacy-log-utils@0.1.1 │ │ │ ├── lodash@2.4.2 │ │ │ └── underscore.string@2.3.3 │ │ ├── lodash@2.4.2 │ │ └── underscore.string@2.3.3 │ ├─┬ grunt-legacy-util@0.2.0 │ │ ├── async@0.1.22 │ │ └── lodash@0.9.2 │ ├── hooker@0.2.3 │ ├── iconv-lite@0.2.11 │ ├─┬ js-yaml@2.0.5 │ │ ├─┬ argparse@0.1.16 │ │ │ ├── underscore@1.7.0 │ │ │ └── underscore.string@2.4.0 │ │ └── esprima@1.0.4 │ ├── lodash@0.9.2 │ ├─┬ minimatch@0.2.14 │ │ ├── lru-cache@2.7.3 │ │ └── sigmund@1.0.1 │ ├─┬ nopt@1.0.10 │ │ └── abbrev@1.0.9 │ ├── underscore.string@2.2.1 │ └── which@1.0.9 ├─┬ grunt-atomdoc@1.0.1 │ ├─┬ donna@1.0.13 │ │ ├── builtins@0.0.4 │ │ ├── source-map@0.1.29 │ │ └── walkdir@0.0.11 │ └─┬ tello@1.0.6 │ └─┬ atomdoc@1.0.4 │ └── marked@0.3.5 ├─┬ grunt-cli@0.1.13 │ └── resolve@0.3.1 ├─┬ grunt-coffeelint@0.0.15 │ └── coffeelint-stylish@0.1.2 ├─┬ grunt-contrib-coffee@0.13.0 │ ├─┬ chalk@0.5.1 │ │ ├── ansi-styles@1.1.0 │ │ ├─┬ has-ansi@0.1.0 │ │ │ └── ansi-regex@0.2.1 │ │ ├── strip-ansi@0.3.0 │ │ └── supports-color@0.2.0 │ ├── coffee-script@1.9.3 │ ├── lodash@3.10.1 │ └── uri-path@0.0.2 ├─┬ grunt-shell@1.3.0 │ ├─┬ npm-run-path@1.0.0 │ │ └── path-key@1.0.0 │ └── object-assign@4.1.0 ├─┬ jasmine@2.4.1 │ └─┬ glob@3.2.11 │ └── minimatch@0.3.0 ├── jasmine-core@2.4.1 ├─┬ json-diff@0.3.1 │ ├─┬ cli-color@0.1.7 │ │ └── es5-ext@0.8.2 │ ├─┬ difflib@0.2.4 │ │ └── heap@0.2.6 │ └── dreamopt@0.6.0 ├── line-length-index@0.0.2 ├─┬ marker-index@4.0.0 │ └── nan@2.3.5 ├─┬ pathwatcher@6.6.2 │ ├── iconv-lite@0.4.13 │ └── runas@3.1.1 ├── random-seed@0.2.0 ├── rimraf@2.2.8 ├─┬ serializable@1.0.3 │ └── get-parameter-names@0.2.0 ├── span-skip-list@0.2.0 ├─┬ temp@0.8.3 │ └── os-tmpdir@1.0.1 └─┬ underscore-plus@1.6.6 └── underscore@1.6.0 text-buffer $npm link > text-buffer@9.2.2 prepublish /Users/dphamnyghonca/Desktop/projects/text-buffer > npm run clean && npm run compile && npm run lint && npm run atomdoc > text-buffer@9.2.2 clean /Users/dphamnyghonca/Desktop/projects/text-buffer > grunt clean Running "clean" task Done, without errors. > text-buffer@9.2.2 compile /Users/dphamnyghonca/Desktop/projects/text-buffer > coffee --no-header --output lib --compile src && babel src --out-dir lib > text-buffer@9.2.2 lint /Users/dphamnyghonca/Desktop/projects/text-buffer > coffeelint -r src spec && eslint src spec ✓ src/display-layer.coffee ✓ src/display-marker-layer.coffee ✓ src/display-marker.coffee ✓ src/empty-decoration-layer.coffee ✓ src/helpers.coffee ✓ src/history.coffee ✓ src/is-character-pair.coffee ✓ src/marker-layer.coffee ✓ src/marker.coffee ✓ src/match-iterator.coffee ✓ src/patch.coffee ✓ src/point-helpers.coffee ✓ src/point.coffee ✓ src/range.coffee ✓ src/set-helpers.coffee ✓ src/text-buffer.coffee ✓ spec/display-layer-spec.coffee ✓ spec/display-marker-layer-spec.coffee ✓ spec/helpers/test-decoration-layer.coffee ✓ spec/marker-layer-spec.coffee ✓ spec/marker-spec.coffee ✓ spec/patch-spec.coffee ✓ spec/point-spec.coffee ✓ spec/range-spec.coffee ✓ spec/text-buffer-spec.coffee ✓ Ok! » 0 errors and 0 warnings in 25 files > text-buffer@9.2.2 atomdoc /Users/dphamnyghonca/Desktop/projects/text-buffer > grunt shell:update-atomdoc atomdoc Running "shell:update-atomdoc" (shell) task Running "atomdoc" task Done, without errors. /Users/dphamnyghonca/.nvm/versions/node/v5.12.0/lib/node_modules/text-buffer -> /Users/dphamnyghonca/Desktop/projects/text-buffer ```

Running apm rebuild:

text-buffer $apm rebuild
Rebuilding modules ✗
npm WARN prefer global marked@0.3.5 should be installed with -g
npm WARN prefer global coffee-script@1.10.0 should be installed with -g
npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
node-pre-gyp ERR! install error 
node-pre-gyp ERR! stack Error: Unsupported target version: 0.37.8
node-pre-gyp ERR! stack     at get_runtime_abi (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:156:23)
node-pre-gyp ERR! stack     at Object.module.exports.evaluate (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:277:19)
node-pre-gyp ERR! stack     at install (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/install.js:138:31)
node-pre-gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js:48:37)
node-pre-gyp ERR! stack     at run (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:79:30)
node-pre-gyp ERR! stack     at Object.<anonymous> (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:131:1)
node-pre-gyp ERR! stack     at Module._compile (module.js:456:26)
node-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:474:10)
node-pre-gyp ERR! stack     at Module.load (module.js:356:32)
node-pre-gyp ERR! stack     at Function.Module._load (module.js:312:12)
node-pre-gyp ERR! System Darwin 15.5.0
node-pre-gyp ERR! command "node" "/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents
node-pre-gyp ERR! node -v v0.10.40
node-pre-gyp ERR! node-pre-gyp -v v0.6.25
node-pre-gyp ERR! not ok 

npm ERR! Darwin 15.5.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/dphamnyghonca/.atom/.apm/.apmrc" "--userconfig" "/Users/dphamnyghonca/.atom/.apmrc" "rebuild" "--target=0.37.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! fsevents@1.0.12 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the fsevents@1.0.12 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the fsevents package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls fsevents
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dphamnyghonca/Desktop/projects/text-buffer/npm-debug.log

Here are all the versions of things that I have:

text-buffer $apm --version
apm  1.10.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.7.4
text-buffer $atom --version
Atom    : 1.10.0-dev-3fd0d30
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0

Let me know if there is any other information I can share that would be helpful.

ruthgrace commented 8 years ago

I tried rebuilding atom to the newest dev version just in case, but it doesn't make a difference

text-buffer $apm --version
apm  1.10.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.7.4
text-buffer $atom --version
Atom    : 1.10.0-dev-66b2bb4
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0
apm rebuild output ``` text-buffer $apm rebuild Rebuilding modules ✗ npm WARN prefer global marked@0.3.5 should be installed with -g npm WARN prefer global coffee-script@1.10.0 should be installed with -g npm WARN prefer global grunt-cli@0.1.13 should be installed with -g node-pre-gyp ERR! install error node-pre-gyp ERR! stack Error: Unsupported target version: 0.37.8 node-pre-gyp ERR! stack at get_runtime_abi (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:156:23) node-pre-gyp ERR! stack at Object.module.exports.evaluate (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:277:19) node-pre-gyp ERR! stack at install (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/install.js:138:31) node-pre-gyp ERR! stack at Object.self.commands.(anonymous function) [as install] (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js:48:37) node-pre-gyp ERR! stack at run (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:79:30) node-pre-gyp ERR! stack at Object. (/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:131:1) node-pre-gyp ERR! stack at Module._compile (module.js:456:26) node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:474:10) node-pre-gyp ERR! stack at Module.load (module.js:356:32) node-pre-gyp ERR! stack at Function.Module._load (module.js:312:12) node-pre-gyp ERR! System Darwin 15.5.0 node-pre-gyp ERR! command "node" "/Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/dphamnyghonca/Desktop/projects/text-buffer/node_modules/fsevents node-pre-gyp ERR! node -v v0.10.40 node-pre-gyp ERR! node-pre-gyp -v v0.6.25 node-pre-gyp ERR! not ok npm ERR! Darwin 15.5.0 npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/dphamnyghonca/.atom/.apm/.apmrc" "--userconfig" "/Users/dphamnyghonca/.atom/.apmrc" "rebuild" "--target=0.37.8" "--arch=x64" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code ELIFECYCLE npm ERR! fsevents@1.0.12 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the fsevents@1.0.12 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! This is most likely a problem with the fsevents package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get their info via: npm ERR! npm owner ls fsevents npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/dphamnyghonca/Desktop/projects/text-buffer/npm-debug.log ```
winstliu commented 8 years ago

Looks like this should be fixed by atom/apm#536.