Skip to content

Instantly share code, notes, and snippets.

@usergenic
Created November 4, 2016 18:35
Show Gist options
  • Save usergenic/cde35005fd97cf53b9585776077630f5 to your computer and use it in GitHub Desktop.
Save usergenic/cde35005fd97cf53b9585776077630f5 to your computer and use it in GitHub Desktop.
cd polymer/tattoo; npm install
> [email protected] install /Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit
> node lifecycleScripts/install
[nodegit] Fetching binary from S3.
[nodegit] Failed to install prebuilt binary:
{ Error: Command failed: "/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/node_modules/.bin/node-pre-gyp" install --fallback-to-build=false
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: 403 status code downloading tarball https://nodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.12.2-node-v48-darwin-x64.tar.gz
node-pre-gyp ERR! stack at Request.<anonymous> (/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/node_modules/node-pre-gyp/lib/install.js:101:37)
node-pre-gyp ERR! stack at emitOne (events.js:101:20)
node-pre-gyp ERR! stack at Request.emit (events.js:188:7)
node-pre-gyp ERR! stack at Request.onRequestResponse (/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/node_modules/request/request.js:957:10)
node-pre-gyp ERR! stack at emitOne (events.js:96:13)
node-pre-gyp ERR! stack at ClientRequest.emit (events.js:188:7)
node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:472:21)
node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:105:23)
node-pre-gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:361:20)
node-pre-gyp ERR! stack at emitOne (events.js:96:13)
node-pre-gyp ERR! System Darwin 16.1.0
node-pre-gyp ERR! command "/Users/brendanb/.nvm/versions/node/v6.3.0/bin/node" "/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build=false"
node-pre-gyp ERR! cwd /Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit
node-pre-gyp ERR! node -v v6.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.26
node-pre-gyp ERR! not ok
at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:852:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12)
killed: false,
code: 1,
signal: null,
cmd: '"/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/node_modules/.bin/node-pre-gyp" install --fallback-to-build=false' }
[nodegit] Building manually. (You'll be here a while.)
[nodegit] Regenerating and configuring code
[email protected] /Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
[nodegit] Configuring libssh2.
{ Error: Command failed: /Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/vendor/openssl/openssl
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:852:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12)
killed: false,
code: 1,
signal: null,
cmd: '/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit/vendor/openssl/openssl' }
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
> [email protected] postinstall /Users/brendanb/src/github.com/polymer/tattoo/node_modules/nodegit
> node postinstall.js
> [email protected] prepublish /Users/brendanb/src/github.com/polymer/tattoo
> typings install && npm run build
? May typings anonymously report usage statistics to improve the tool over time? Yes
├── js-yaml (ambient)
├── marked (ambient)
├── node (ambient)
├── progress (ambient)
├── rimraf (ambient)
└── semver (ambient)
> [email protected] build /Users/brendanb/src/github.com/polymer/tattoo
> tsc
node_modules/@types/node/index.d.ts(101,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Buffer' must be of type '{ new (str: string, encoding?: string): Buffer; new (size: number): Buffer; new (array: Uint8Arra...', but here has type '{ new (str: string, encoding?: string): Buffer; new (size: number): Buffer; new (array: Uint8Arra...'.
node_modules/@types/node/index.d.ts(495,18): error TS2300: Duplicate identifier 'EventEmitter'.
node_modules/@types/node/index.d.ts(530,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'agent' must be of type 'Agent', but here has type 'Agent | boolean'.
node_modules/@types/node/index.d.ts(648,18): error TS2300: Duplicate identifier 'Agent'.
node_modules/@types/node/index.d.ts(693,18): error TS2300: Duplicate identifier 'Worker'.
node_modules/@types/node/index.d.ts(712,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'workers' must be of type 'Worker[]', but here has type '{ [index: string]: Worker; }'.
node_modules/@types/node/index.d.ts(952,9): error TS2687: All declarations of 'output' must have identical modifiers.
node_modules/@types/node/index.d.ts(953,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'completer' must be of type 'Function', but here has type 'Completer'.
node_modules/@types/node/index.d.ts(1965,18): error TS2300: Duplicate identifier 'Readable'.
node_modules/@types/node/index.d.ts(1965,18): error TS2420: Class 'Readable' incorrectly implements interface 'ReadableStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
node_modules/@types/node/index.d.ts(1986,18): error TS2300: Duplicate identifier 'Writable'.
node_modules/@types/node/index.d.ts(1986,18): error TS2420: Class 'Writable' incorrectly implements interface 'WritableStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
node_modules/@types/node/index.d.ts(2002,18): error TS2300: Duplicate identifier 'Duplex'.
node_modules/@types/node/index.d.ts(2002,18): error TS2420: Class 'Duplex' incorrectly implements interface 'ReadWriteStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
node_modules/@types/node/index.d.ts(2016,18): error TS2300: Duplicate identifier 'Transform'.
node_modules/@types/node/index.d.ts(2016,18): error TS2420: Class 'Transform' incorrectly implements interface 'ReadWriteStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
node_modules/@types/node/index.d.ts(2038,18): error TS2300: Duplicate identifier 'PassThrough'.
node_modules/@types/node/index.d.ts(2107,5): error TS2300: Duplicate identifier 'export='.
node_modules/@types/node/index.d.ts(2129,18): error TS2300: Duplicate identifier 'Domain'.
node_modules/@types/node/index.d.ts(2129,18): error TS2420: Class 'Domain' incorrectly implements interface 'NodeJS.Domain'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '(event: string, listener: Function) => this'.
Type 'EventEmitter' is not assignable to type 'this'.
typings/main/ambient/node/node.d.ts(417,18): error TS2300: Duplicate identifier 'EventEmitter'.
typings/main/ambient/node/node.d.ts(417,18): error TS2420: Class 'EventEmitter' incorrectly implements interface 'NodeJS.EventEmitter'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
Types of property 'setMaxListeners' are incompatible.
Type '(n: number) => void' is not assignable to type '{ (n: number): void; (n: number): EventEmitter; }'.
Type 'void' is not assignable to type 'EventEmitter'.
typings/main/ambient/node/node.d.ts(451,22): error TS2430: Interface 'Server' incorrectly extends interface 'Server'.
Types of property 'listen' are incompatible.
Type '{ (port: number, hostname?: string, backlog?: number, callback?: Function): Server; (port: number...' is not assignable to type '{ (port: number, host?: string, backlog?: number, listeningListener?: Function): Server; (path: s...'.
Type 'Server' is not assignable to type 'Server'.
Types of property 'listen' are incompatible.
Type '{ (port: number, hostname?: string, backlog?: number, callback?: Function): Server; (port: number...' is not assignable to type '{ (port: number, host?: string, backlog?: number, listeningListener?: Function): Server; (path: s...'.
Types of parameters 'hostname' and 'backlog' are incompatible.
Type 'number' is not assignable to type 'string'.
typings/main/ambient/node/node.d.ts(564,18): error TS2300: Duplicate identifier 'Agent'.
typings/main/ambient/node/node.d.ts(603,18): error TS2300: Duplicate identifier 'Worker'.
typings/main/ambient/node/node.d.ts(1536,22): error TS2430: Interface 'Server' incorrectly extends interface 'Server'.
typings/main/ambient/node/node.d.ts(1536,22): error TS2430: Interface 'Server' incorrectly extends interface 'Server'.
Types of property 'listen' are incompatible.
Type '{ (port: number, host?: string, backlog?: number, listeningListener?: Function): Server; (path: s...' is not assignable to type '{ (port: number, host?: string, backlog?: number, listeningListener?: Function): Server; (path: s...'.
Type 'Server' is not assignable to type 'Server'.
Types of property 'listen' are incompatible.
Type '{ (port: number, host?: string, backlog?: number, listeningListener?: Function): Server; (path: s...' is not assignable to type '{ (port: number, host?: string, backlog?: number, listeningListener?: Function): Server; (path: s...'.
Types of parameters 'host' and 'backlog' are incompatible.
Type 'number' is not assignable to type 'string'.
typings/main/ambient/node/node.d.ts(1690,18): error TS2300: Duplicate identifier 'Readable'.
typings/main/ambient/node/node.d.ts(1690,18): error TS2420: Class 'Readable' incorrectly implements interface 'ReadableStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
typings/main/ambient/node/node.d.ts(1711,18): error TS2300: Duplicate identifier 'Writable'.
typings/main/ambient/node/node.d.ts(1711,18): error TS2420: Class 'Writable' incorrectly implements interface 'WritableStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
typings/main/ambient/node/node.d.ts(1727,18): error TS2300: Duplicate identifier 'Duplex'.
typings/main/ambient/node/node.d.ts(1727,18): error TS2420: Class 'Duplex' incorrectly implements interface 'ReadWriteStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
typings/main/ambient/node/node.d.ts(1741,18): error TS2300: Duplicate identifier 'Transform'.
typings/main/ambient/node/node.d.ts(1741,18): error TS2420: Class 'Transform' incorrectly implements interface 'ReadWriteStream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): EventEmitter; (event: string, listener: Function): this; }'.
Type 'EventEmitter' is not assignable to type 'NodeJS.EventEmitter'.
typings/main/ambient/node/node.d.ts(1763,18): error TS2300: Duplicate identifier 'PassThrough'.
typings/main/ambient/node/node.d.ts(1830,5): error TS2300: Duplicate identifier 'export='.
typings/main/ambient/node/node.d.ts(1850,18): error TS2300: Duplicate identifier 'Domain'.
npm ERR! Darwin 16.1.0
npm ERR! argv "/Users/brendanb/.nvm/versions/node/v6.3.0/bin/node" "/Users/brendanb/.nvm/versions/node/v6.3.0/bin/npm" "run" "build"
npm ERR! node v6.3.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script 'tsc'.
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 tattoo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tattoo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls tattoo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/brendanb/src/github.com/polymer/tattoo/npm-debug.log
npm ERR! Darwin 16.1.0
npm ERR! argv "/Users/brendanb/.nvm/versions/node/v6.3.0/bin/node" "/Users/brendanb/.nvm/versions/node/v6.3.0/bin/npm" "install"
npm ERR! node v6.3.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prepublish: `typings install && npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'typings install && npm run build'.
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 tattoo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install && npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tattoo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls tattoo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/brendanb/src/github.com/polymer/tattoo/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment