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

Package upgrade within Atom fails #304

@iolsen

Description

@iolsen

apm upgrade from the command line worked, but from within Atom it failed with the following output:

> node-gyp rebuild

github@0.0.0 /private/var/folders/19/fkg_98p137bd8y8r_5b0nz1m0000gn/T/atom-git-package-clone-116102-73422-1320kos
+-- compare-sets@1.0.1 
+-- diff@2.2.2 
+-- etch@0.8.0 
| `-- virtual-dom@2.1.1 
|   +-- browser-split@0.0.1 
|   +-- error@4.4.0 
|   | +-- camelize@1.0.0 
|   | +-- string-template@0.2.1 
|   | `-- xtend@4.0.1 
|   +-- ev-store@7.0.0 
|   | `-- individual@3.0.0 
|   +-- global@4.3.1 
|   | +-- min-document@2.19.0 
|   | | `-- dom-walk@0.1.1 
|   | `-- process@0.5.2 
|   +-- is-object@1.0.1 
|   +-- next-tick@0.2.2 
|   +-- x-is-array@0.1.0 
|   `-- x-is-string@0.1.0 
+-- git-kitchen-sink@1.11.0 
| +-- checksum@0.1.1 
| | `-- optimist@0.3.7 
| |   `-- wordwrap@0.0.3 
| +-- decompress@4.0.0 
| | +-- decompress-tar@4.1.0 
| | | +-- file-type@3.9.0 
| | | +-- is-stream@1.1.0 
| | | `-- tar-stream@1.5.2 
| | |   +-- bl@1.1.2 
| | |   | `-- readable-stream@2.0.6 
| | |   +-- end-of-stream@1.1.0 
| | |   `-- readable-stream@2.1.5 
| | |     +-- buffer-shims@1.0.0 
| | |     +-- core-util-is@1.0.2 
| | |     +-- isarray@1.0.0 
| | |     +-- process-nextick-args@1.0.7 
| | |     +-- string_decoder@0.10.31 
| | |     `-- util-deprecate@1.0.2 
| | +-- decompress-tarbz2@4.1.0 
| | | +-- seek-bzip@1.0.5 
| | | | `-- commander@2.8.1 
| | | `-- unbzip2-stream@1.0.10 
| | |   +-- buffer@3.6.0 
| | |   | +-- base64-js@0.0.8 
| | |   | `-- ieee754@1.1.8 
| | |   `-- through@2.3.8 
| | +-- decompress-targz@4.0.0 
| | +-- decompress-unzip@4.0.1 
| | | +-- get-stream@2.3.1 
| | | | `-- object-assign@4.1.0 
| | | `-- yauzl@2.7.0 
| | |   +-- buffer-crc32@0.2.5 
| | |   `-- fd-slicer@1.0.1 
| | |     `-- pend@1.2.0 
| | +-- pify@2.3.0 
| | `-- strip-dirs@1.1.1 
| |   +-- 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 
| |   +-- get-stdin@4.0.1 
| |   +-- is-absolute@0.1.7 
| |   | `-- is-relative@0.1.3 
| |   +-- is-natural-number@2.1.1 
| |   +-- minimist@1.2.0 
| |   `-- sum-up@1.0.3 
| +-- os-tmpdir@1.0.2 
| +-- progress@1.1.8 
| +-- request@2.76.0 
| | +-- aws-sign2@0.6.0 
| | +-- aws4@1.5.0 
| | +-- 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@2.1.1 
| | | `-- asynckit@0.4.0 
| | +-- har-validator@2.0.6 
| | | +-- commander@2.9.0 
| | | | `-- graceful-readlink@1.0.1 
| | | +-- is-my-json-valid@2.15.0 
| | | | +-- generate-function@2.0.0 
| | | | +-- generate-object-property@1.2.0 
| | | | | `-- is-property@1.0.2 
| | | | `-- jsonpointer@4.0.0 
| | | `-- 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.1 
| | | | +-- extsprintf@1.0.2 
| | | | +-- json-schema@0.2.3 
| | | | `-- verror@1.3.6 
| | | `-- sshpk@1.10.1 
| | |   +-- asn1@0.2.3 
| | |   +-- assert-plus@1.0.0 
| | |   +-- bcrypt-pbkdf@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.14.3 
| | +-- is-typedarray@1.0.0 
| | +-- isstream@0.1.2 
| | +-- json-stringify-safe@5.0.1 
| | +-- mime-types@2.1.12 
| | | `-- mime-db@1.24.0 
| | +-- node-uuid@1.4.7 
| | +-- oauth-sign@0.8.2 
| | +-- qs@6.3.0 
| | +-- stringstream@0.0.5 
| | +-- tough-cookie@2.3.2 
| | | `-- punycode@1.4.1 
| | `-- tunnel-agent@0.4.3 
| `-- rimraf@2.5.4 
|   `-- glob@7.1.1 
|     +-- fs.realpath@1.0.0 
|     +-- inflight@1.0.6 
|     | `-- wrappy@1.0.2 
|     +-- inherits@2.0.3 
|     +-- minimatch@3.0.3 
|     +-- once@1.3.3 
|     `-- path-is-absolute@1.0.1 
+-- mkdirp@0.5.1 
| `-- minimist@0.0.8 
+-- multi-list-selection@0.1.1 
+-- recursive-readdir@2.1.0 
| `-- minimatch@3.0.2 
|   `-- brace-expansion@1.1.6 
|     +-- balanced-match@0.4.2 
|     `-- concat-map@0.0.1 
+-- temp@0.8.3 
| `-- rimraf@2.2.8 
`-- what-the-diff@0.1.1 


(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)
(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)
(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)
(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)
(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)

(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)
(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)
(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at TLSSocket.addListener (events.js:239:17)
    at TLSSocket.Readable.on (_stream_readable.js:673:33)
    at Request.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm-registry-client/lib/request.js:153:7)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/request/request.js:791:10)
    at emitOne (events.js:82:20)
    at ClientRequest.emit (events.js:169:7)
    at tickOnSocket (_http_client.js:502:7)
    at onSocketNT (_http_client.js:514:5)
make: *** No rule to make target `../../../../../../../../../../Applications/Atom', needed by `Makefile'.  Stop.
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 16.1.0
gyp ERR! command "/Applications/Atom Beta.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /private/var/folders/19/fkg_98p137bd8y8r_5b0nz1m0000gn/T/atom-git-package-clone-116102-73422-1320kos/node_modules/nsfw
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
npm ERR! Darwin 16.1.0
npm ERR! argv "/Applications/Atom Beta.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/iolsen/.atom/.apm/.apmrc" "--userconfig" "/Users/iolsen/.atom/.apmrc" "install" "--runtime=electron" "--target=1.3.6" "--arch=x64"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE

npm ERR! nsfw@1.0.12 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nsfw@1.0.12 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nsfw package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs nsfw
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls nsfw
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/19/fkg_98p137bd8y8r_5b0nz1m0000gn/T/atom-git-package-clone-116102-73422-1320kos/npm-debug.log```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions