Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Unable to link to atom dev environment #159

Open
ruthgrace opened this issue Jun 26, 2016 · 7 comments
Open

Unable to link to atom dev environment #159

ruthgrace opened this issue Jun 26, 2016 · 7 comments
Labels

Comments

@ruthgrace
Copy link

ruthgrace commented Jun 26, 2016

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 [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] 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! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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
Copy link
Contributor

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

@ruthgrace
Copy link
Author

@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
Copy link
Contributor

Huh, ok then! Never knew that.

@maxbrunsfeld
Copy link
Contributor

@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
Copy link
Author

ruthgrace commented Jul 9, 2016

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 [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: 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 [email protected] should be installed with -g

> [email protected] 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

> [email protected] 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

> [email protected] 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

> [email protected] 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

> [email protected] prepublish /Users/dphamnyghonca/Desktop/projects/text-buffer
> npm run clean && npm run compile && npm run lint && npm run atomdoc


> [email protected] clean /Users/dphamnyghonca/Desktop/projects/text-buffer
> grunt clean

Running "clean" task

Done, without errors.

> [email protected] compile /Users/dphamnyghonca/Desktop/projects/text-buffer
> coffee --no-header --output lib --compile src && babel src --out-dir lib


> [email protected] 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


> [email protected] atomdoc /Users/dphamnyghonca/Desktop/projects/text-buffer
> grunt shell:update-atomdoc atomdoc

Running "shell:update-atomdoc" (shell) task

Running "atomdoc" task

Done, without errors.
[email protected] /Users/dphamnyghonca/Desktop/projects/text-buffer
├── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├── [email protected] 
│ │ │   └─┬ [email protected] 
│ │ │     └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├── [email protected] 
│ │ │   └── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ ├── [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ └─┬ [email protected] 
│ │ │   │ │   ├─┬ [email protected] 
│ │ │   │ │   │ └── [email protected] 
│ │ │   │ │   └─┬ [email protected] 
│ │ │   │ │     └── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ └─┬ [email protected] 
│ │ │   │ │   ├─┬ [email protected] 
│ │ │   │ │   │ ├─┬ [email protected] 
│ │ │   │ │   │ │ └─┬ [email protected] 
│ │ │   │ │   │ │   └── [email protected] 
│ │ │   │ │   │ └─┬ [email protected] 
│ │ │   │ │   │   └── [email protected] 
│ │ │   │ │   └── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └─┬ [email protected] 
│ │   └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └─┬ [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   └── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   └─┬ [email protected] 
│ │ │     ├── [email protected] 
│ │ │     └── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ └─┬ [email protected] 
│ │ │   │   ├── [email protected] 
│ │ │   │   ├─┬ [email protected] 
│ │ │   │   │ ├── [email protected] 
│ │ │   │   │ └── [email protected] 
│ │ │   │   ├── [email protected] 
│ │ │   │   └── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └─┬ [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   └── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ ├── [email protected] 
│ │ │   │ │ │ ├── [email protected] 
│ │ │   │ │ │ ├─┬ [email protected] 
│ │ │   │ │ │ │ └── [email protected] 
│ │ │   │ │ │ ├── [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ ├── [email protected] 
│ │ │   │ │ │ ├─┬ [email protected] 
│ │ │   │ │ │ │ └── [email protected] 
│ │ │   │ │ │ ├── [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ └─┬ [email protected] 
│ │ │   │ │   └── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ ├── [email protected] 
│ │ │   │ │ ├── [email protected] 
│ │ │   │ │ ├── [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ ├── [email protected] 
│ │ │   │ │ ├─┬ [email protected] 
│ │ │   │ │ │ ├── [email protected] 
│ │ │   │ │ │ ├── [email protected] 
│ │ │   │ │ │ └── [email protected] 
│ │ │   │ │ └─┬ [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   ├─┬ [email protected] 
│ │ │   │ │   │ └── [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   ├── [email protected] 
│ │ │   │ │   └── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └─┬ [email protected] 
│ │ │   │   ├─┬ [email protected] 
│ │ │   │   │ └── [email protected] 
│ │ │   │   ├── [email protected] 
│ │ │   │   ├─┬ [email protected] 
│ │ │   │   │ └─┬ [email protected] 
│ │ │   │   │   ├── [email protected] 
│ │ │   │   │   └── [email protected] 
│ │ │   │   ├─┬ [email protected] 
│ │ │   │   │ └── [email protected] 
│ │ │   │   └── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ ├── [email protected] 
│ │ │   │ ├─┬ [email protected] 
│ │ │   │ │ └── [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   └─┬ [email protected] 
│ │ │     ├─┬ [email protected] 
│ │ │     │ └── [email protected] 
│ │ │     ├─┬ [email protected] 
│ │ │     │ └─┬ [email protected] 
│ │ │     │   └─┬ [email protected] 
│ │ │     │     ├── [email protected] 
│ │ │     │     └── [email protected] 
│ │ │     ├─┬ [email protected] 
│ │ │     │ └── [email protected] 
│ │ │     ├─┬ [email protected] 
│ │ │     │ ├── [email protected] 
│ │ │     │ ├── [email protected] 
│ │ │     │ ├── [email protected] 
│ │ │     │ ├── [email protected] 
│ │ │     │ └── [email protected] 
│ │ │     └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └─┬ [email protected] 
│ │   ├─┬ [email protected] 
│ │   │ └── [email protected] 
│ │   └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └─┬ [email protected] 
│ │   └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   ├── [email protected] 
│ │ │   └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ └─┬ [email protected] 
│   └── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ └─┬ [email protected] 
│ │   └─┬ [email protected] 
│ │     └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └─┬ [email protected] 
│ │   ├── [email protected] 
│ │   ├── [email protected] 
│ │   └── [email protected] 
│ └─┬ [email protected] 
│   ├── [email protected] 
│   ├── [email protected] 
│   ├── [email protected] 
│   ├─┬ [email protected] 
│   │ ├── [email protected] 
│   │ └── [email protected] 
│   └── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ └─┬ [email protected] 
│ │   ├── [email protected] 
│ │   ├── [email protected] 
│ │   └─┬ [email protected] 
│ │     └── [email protected] 
│ └─┬ [email protected] 
│   └── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ └─┬ [email protected] 
│   ├─┬ [email protected] 
│   │ └── [email protected] 
│   ├─┬ [email protected] 
│   │ └── [email protected] 
│   ├─┬ [email protected] 
│   │ ├─┬ [email protected] 
│   │ │ └── [email protected] 
│   │ └── [email protected] 
│   ├─┬ [email protected] 
│   │ └── [email protected] 
│   └─┬ [email protected] 
│     ├─┬ [email protected] 
│     │ └── [email protected] 
│     └─┬ [email protected] 
│       ├── [email protected] 
│       ├─┬ [email protected] 
│       │ └── [email protected] 
│       └─┬ [email protected] 
│         ├─┬ [email protected] 
│         │ └── [email protected] 
│         └── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ └─┬ [email protected] 
│   └─┬ [email protected] 
│     └── [email protected] 
├─┬ [email protected] 
│ └── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ └── [email protected] 
├─┬ [email protected] 
│ └── [email protected] 
├── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ └── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ └─┬ [email protected] 
│ │   └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ └─┬ [email protected] 
│ │   ├─┬ [email protected] 
│ │   │ ├─┬ [email protected] 
│ │   │ │ ├── [email protected] 
│ │   │ │ └─┬ [email protected] 
│ │   │ │   └── [email protected] 
│ │   │ ├── [email protected] 
│ │   │ ├─┬ [email protected] 
│ │   │ │ └── [email protected] 
│ │   │ └── [email protected] 
│ │   ├── [email protected] 
│ │   └─┬ [email protected] 
│ │     └─┬ [email protected] 
│ │       └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├── [email protected] 
│ │ │   └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ └─┬ [email protected] 
│   └── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ └── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ └── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ └─┬ [email protected] 
│   └─┬ [email protected] 
│     └── [email protected] 
├─┬ [email protected] 
│ └── [email protected] 
├─┬ [email protected] 
│ └── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ └── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ └── [email protected] 
├─┬ [email protected] 
│ └─┬ [email protected] 
│   └── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ └── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ └── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ └── [email protected] 
├── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ └── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ └── [email protected] 
└─┬ [email protected] 
  └── [email protected] 

text-buffer $npm link

> [email protected] prepublish /Users/dphamnyghonca/Desktop/projects/text-buffer
> npm run clean && npm run compile && npm run lint && npm run atomdoc


> [email protected] clean /Users/dphamnyghonca/Desktop/projects/text-buffer
> grunt clean

Running "clean" task

Done, without errors.

> [email protected] compile /Users/dphamnyghonca/Desktop/projects/text-buffer
> coffee --no-header --output lib --compile src && babel src --out-dir lib


> [email protected] 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


> [email protected] 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 [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] 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! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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
Copy link
Author

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 [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] 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! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants