prash-wghats / Electron-VSCode-Atom-For-FreeBSD

Electron, VSCode, Atom & LightTable port for FreeBSD
96 stars 11 forks source link

Error building Atom #3

Closed yonas closed 6 years ago

yonas commented 6 years ago

Using your Atom package works for me, but I get some errors when building it:

(node:685) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Installing modules ✗
> keytar@4.1.0 install /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/node_modules/keytar
> node-gyp rebuild

gmake: Entering directory '/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/node_modules/keytar/build'
  CXX(target) Release/obj.target/keytar/src/async.o
  CXX(target) Release/obj.target/keytar/src/main.o
  CXX(target) Release/obj.target/keytar/src/keytar_posix.o
  SOLINK_MODULE(target) Release/obj.target/keytar.node
  COPY Release/keytar.node
gmake: Leaving directory '/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/node_modules/keytar/build'

> dugite@1.49.0 postinstall /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/node_modules/dugite
> node ./script/download-git.js

github@0.8.3 /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github
├─┬ @binarymuse/relay-compiler@1.4.0 
│ ├─┬ babel-polyfill@6.26.0 
│ │ ├── core-js@2.5.3 
│ │ └── regenerator-runtime@0.10.5 
│ ├─┬ babel-preset-fbjs@2.1.4 
│ │ ├── babel-plugin-check-es2015-constants@6.22.0 
│ │ ├── babel-plugin-syntax-flow@6.18.0 
│ │ ├── babel-plugin-syntax-trailing-function-commas@6.22.0 
│ │ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0 
│ │ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0 
│ │ ├── babel-plugin-transform-es2015-block-scoping@6.26.0 
│ │ ├─┬ babel-plugin-transform-es2015-classes@6.24.1 
│ │ │ ├── babel-helper-define-map@6.26.0 
│ │ │ ├── babel-helper-optimise-call-expression@6.24.1 
│ │ │ └── babel-helper-replace-supers@6.24.1 
│ │ ├── babel-plugin-transform-es2015-computed-properties@6.24.1 
│ │ ├── babel-plugin-transform-es2015-for-of@6.23.0 
│ │ ├── babel-plugin-transform-es2015-function-name@6.24.1 
│ │ ├── babel-plugin-transform-es2015-literals@6.22.0 
│ │ ├── babel-plugin-transform-es2015-object-super@6.24.1 
│ │ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1 
│ │ ├── babel-plugin-transform-es2015-spread@6.22.0 
│ │ ├── babel-plugin-transform-es2015-template-literals@6.22.0 
│ │ ├── babel-plugin-transform-es3-member-expression-literals@6.22.0 
│ │ ├── babel-plugin-transform-es3-property-literals@6.22.0 
│ │ └── babel-plugin-transform-flow-strip-types@6.22.0 
│ ├─┬ babel-runtime@6.26.0 
│ │ └── regenerator-runtime@0.11.1 
│ ├─┬ babel-traverse@6.26.0 
│ │ └── invariant@2.2.2 
│ ├─┬ babel-types@6.26.0 
│ │ └── to-fast-properties@1.0.3 
│ ├── babylon@6.18.0 
│ ├─┬ chalk@1.1.3 
│ │ ├── ansi-styles@2.2.1 
│ │ ├── has-ansi@2.0.0 
│ │ ├── strip-ansi@3.0.1 
│ │ └── supports-color@2.0.0 
│ ├─┬ fast-glob@1.0.1 
│ │ ├─┬ bash-glob@1.0.2 
│ │ │ ├── async-each@1.0.1 
│ │ │ ├─┬ bash-path@1.0.3 
│ │ │ │ ├── arr-union@3.1.0 
│ │ │ │ └── is-windows@1.0.1 
│ │ │ ├── component-emitter@1.2.1 
│ │ │ ├─┬ cross-spawn@5.1.0 
│ │ │ │ ├─┬ lru-cache@4.1.1 
│ │ │ │ │ ├── pseudomap@1.0.2 
│ │ │ │ │ └── yallist@2.1.2 
│ │ │ │ ├─┬ shebang-command@1.2.0 
│ │ │ │ │ └── shebang-regex@1.0.0 
│ │ │ │ └─┬ which@1.3.0 
│ │ │ │   └── isexe@2.0.0 
│ │ │ ├─┬ extend-shallow@2.0.1 
│ │ │ │ └── is-extendable@0.1.1 
│ │ │ ├── is-extglob@2.1.1 
│ │ │ └── is-glob@4.0.0 
│ │ ├─┬ glob-parent@3.1.0 
│ │ │ ├── is-glob@3.1.0 
│ │ │ └── path-dirname@1.0.2 
│ │ ├─┬ micromatch@3.1.4 
│ │ │ ├── arr-diff@4.0.0 
│ │ │ ├── array-unique@0.3.2 
│ │ │ ├─┬ braces@2.3.0 
│ │ │ │ ├── arr-flatten@1.1.0 
│ │ │ │ ├─┬ fill-range@4.0.0 
│ │ │ │ │ ├─┬ is-number@3.0.0 
│ │ │ │ │ │ └─┬ kind-of@3.2.2 
│ │ │ │ │ │   └── is-buffer@1.1.6 
│ │ │ │ │ ├── repeat-string@1.6.1 
│ │ │ │ │ └── to-regex-range@2.1.1 
│ │ │ │ ├── isobject@3.0.1 
│ │ │ │ ├── repeat-element@1.1.2 
│ │ │ │ ├─┬ snapdragon-node@2.1.1 
│ │ │ │ │ └─┬ snapdragon-util@3.0.1 
│ │ │ │ │   └── kind-of@3.2.2 
│ │ │ │ └─┬ split-string@3.1.0 
│ │ │ │   └─┬ extend-shallow@3.0.2 
│ │ │ │     ├── assign-symbols@1.0.0 
│ │ │ │     └─┬ is-extendable@1.0.1 
│ │ │ │       └── is-plain-object@2.0.4 
│ │ │ ├─┬ define-property@1.0.0 
│ │ │ │ └─┬ is-descriptor@1.0.1 
│ │ │ │   ├─┬ is-accessor-descriptor@0.1.6 
│ │ │ │   │ └── kind-of@3.2.2 
│ │ │ │   ├─┬ is-data-descriptor@0.1.4 
│ │ │ │   │ └── kind-of@3.2.2 
│ │ │ │   └── kind-of@5.1.0 
│ │ │ ├─┬ extglob@2.0.3 
│ │ │ │ └─┬ expand-brackets@2.1.4 
│ │ │ │   ├─┬ define-property@0.2.5 
│ │ │ │   │ └─┬ is-descriptor@0.1.6 
│ │ │ │   │   └── kind-of@5.1.0 
│ │ │ │   └── posix-character-classes@0.1.1 
│ │ │ ├─┬ fragment-cache@0.2.1 
│ │ │ │ └── map-cache@0.2.2 
│ │ │ ├── kind-of@6.0.2 
│ │ │ ├─┬ nanomatch@1.2.6 
│ │ │ │ ├── is-odd@1.0.0 
│ │ │ │ └── kind-of@5.1.0 
│ │ │ ├── object.pick@1.3.0 
│ │ │ ├── regex-not@1.0.0 
│ │ │ ├─┬ snapdragon@0.8.1 
│ │ │ │ ├─┬ base@0.11.2 
│ │ │ │ │ ├─┬ cache-base@1.0.1 
│ │ │ │ │ │ ├─┬ collection-visit@1.0.0 
│ │ │ │ │ │ │ ├── map-visit@1.0.0 
│ │ │ │ │ │ │ └── object-visit@1.0.1 
│ │ │ │ │ │ ├── get-value@2.0.6 
│ │ │ │ │ │ ├─┬ has-value@1.0.0 
│ │ │ │ │ │ │ └─┬ has-values@1.0.0 
│ │ │ │ │ │ │   └── kind-of@4.0.0 
│ │ │ │ │ │ ├── set-value@2.0.0 
│ │ │ │ │ │ ├─┬ to-object-path@0.3.0 
│ │ │ │ │ │ │ └── kind-of@3.2.2 
│ │ │ │ │ │ ├─┬ union-value@1.0.0 
│ │ │ │ │ │ │ └── set-value@0.4.3 
│ │ │ │ │ │ └─┬ unset-value@1.0.0 
│ │ │ │ │ │   └─┬ has-value@0.3.1 
│ │ │ │ │ │     ├── has-values@0.1.4 
│ │ │ │ │ │     └── isobject@2.1.0 
│ │ │ │ │ ├─┬ class-utils@0.3.5 
│ │ │ │ │ │ ├─┬ define-property@0.2.5 
│ │ │ │ │ │ │ └─┬ is-descriptor@0.1.6 
│ │ │ │ │ │ │   └── kind-of@5.1.0 
│ │ │ │ │ │ └─┬ static-extend@0.1.2 
│ │ │ │ │ │   ├─┬ define-property@0.2.5 
│ │ │ │ │ │   │ └─┬ is-descriptor@0.1.6 
│ │ │ │ │ │   │   └── kind-of@5.1.0 
│ │ │ │ │ │   └─┬ object-copy@0.1.0 
│ │ │ │ │ │     ├── copy-descriptor@0.1.1 
│ │ │ │ │ │     ├─┬ define-property@0.2.5 
│ │ │ │ │ │     │ └─┬ is-descriptor@0.1.6 
│ │ │ │ │ │     │   └── kind-of@5.1.0 
│ │ │ │ │ │     └── kind-of@3.2.2 
│ │ │ │ │ ├─┬ mixin-deep@1.3.0 
│ │ │ │ │ │ ├── for-in@1.0.2 
│ │ │ │ │ │ └── is-extendable@1.0.1 
│ │ │ │ │ └── pascalcase@0.1.1 
│ │ │ │ ├─┬ define-property@0.2.5 
│ │ │ │ │ └─┬ is-descriptor@0.1.6 
│ │ │ │ │   └── kind-of@5.1.0 
│ │ │ │ ├─┬ source-map-resolve@0.5.1 
│ │ │ │ │ ├── atob@2.0.3 
│ │ │ │ │ ├── decode-uri-component@0.2.0 
│ │ │ │ │ ├── resolve-url@0.2.1 
│ │ │ │ │ ├── source-map-url@0.4.0 
│ │ │ │ │ └── urix@0.1.0 
│ │ │ │ └─┬ use@2.0.2 
│ │ │ │   ├─┬ define-property@0.2.5 
│ │ │ │   │ └─┬ is-descriptor@0.1.6 
│ │ │ │   │   └── kind-of@5.1.0 
│ │ │ │   └─┬ lazy-cache@2.0.2 
│ │ │ │     └── set-getter@0.1.0 
│ │ │ └─┬ to-regex@3.0.1 
│ │ │   └─┬ define-property@0.2.5 
│ │ │     └─┬ is-descriptor@0.1.6 
│ │ │       └── kind-of@5.1.0 
│ │ └─┬ readdir-enhanced@1.5.2 
│ │   ├── call-me-maybe@1.0.1 
│ │   ├── es6-promise@4.2.2 
│ │   └── glob-to-regexp@0.3.0 
│ ├─┬ fb-watchman@2.0.0 
│ │ └─┬ bser@2.0.0 
│ │   └── node-int64@0.4.0 
│ ├─┬ fbjs@0.8.16 
│ │ ├── core-js@1.2.7 
│ │ ├─┬ isomorphic-fetch@2.2.1 
│ │ │ └── whatwg-fetch@2.0.3 
│ │ ├─┬ promise@7.3.1 
│ │ │ └── asap@2.0.6 
│ │ ├── setimmediate@1.0.5 
│ │ └── ua-parser-js@0.7.17 
│ ├── graphql@0.11.7 
│ ├── immutable@3.7.6 
│ ├── UNMET PEER DEPENDENCY relay-compiler@1.4.0
│ ├── relay-runtime@1.4.0 
│ ├── signedsource@1.0.0 
│ └─┬ yargs@9.0.1 
│   ├── camelcase@4.1.0 
│   ├─┬ cliui@3.2.0 
│   │ ├── string-width@1.0.2 
│   │ └─┬ wrap-ansi@2.1.0 
│   │   └── string-width@1.0.2 
│   ├── decamelize@1.2.0 
│   ├── get-caller-file@1.0.2 
│   ├─┬ os-locale@2.1.0 
│   │ ├─┬ execa@0.7.0 
│   │ │ ├── get-stream@3.0.0 
│   │ │ ├─┬ npm-run-path@2.0.2 
│   │ │ │ └── path-key@2.0.1 
│   │ │ ├── p-finally@1.0.0 
│   │ │ ├── signal-exit@3.0.2 
│   │ │ └── strip-eof@1.0.0 
│   │ ├─┬ lcid@1.0.0 
│   │ │ └── invert-kv@1.0.0 
│   │ └─┬ mem@1.1.0 
│   │   └── mimic-fn@1.1.0 
│   ├── require-directory@2.1.1 
│   ├── require-main-filename@1.0.1 
│   ├── set-blocking@2.0.0 
│   ├─┬ string-width@2.1.1 
│   │ ├── is-fullwidth-code-point@2.0.0 
│   │ └─┬ strip-ansi@4.0.0 
│   │   └── ansi-regex@3.0.0 
│   ├── which-module@2.0.0 
│   ├── y18n@3.2.1 
│   └── yargs-parser@7.0.0 
├─┬ atom-babel6-transpiler@1.1.1 
│ └─┬ babel-core@6.26.0 
│   ├── babel-helpers@6.24.1 
│   ├─┬ babel-register@6.26.0 
│   │ ├── home-or-tmp@2.0.0 
│   │ └── source-map-support@0.4.18 
│   ├── convert-source-map@1.5.1 
│   ├── json5@0.5.1 
│   ├── path-is-absolute@1.0.1 
│   ├── private@0.1.8 
│   └── slash@1.0.0 
├─┬ atom-mocha-test-runner@1.2.0 
│ ├─┬ 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 
│ │   ├─┬ ev-store@7.0.0 
│ │   │ └── individual@3.0.0 
│ │   ├─┬ global@4.3.2 
│ │   │ ├─┬ 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 
│ ├── grim@2.0.2 
│ ├─┬ less@2.7.3 
│ │ ├─┬ errno@0.1.6 
│ │ │ └── prr@1.0.1 
│ │ ├── image-size@0.5.5 
│ │ ├── mime@1.6.0 
│ │ └─┬ request@2.81.0 
│ │   ├── aws-sign2@0.6.0 
│ │   ├── aws4@1.6.0 
│ │   ├── caseless@0.12.0 
│ │   ├─┬ combined-stream@1.0.5 
│ │   │ └── delayed-stream@1.0.0 
│ │   ├── extend@3.0.1 
│ │   ├── forever-agent@0.6.1 
│ │   ├─┬ form-data@2.1.4 
│ │   │ └── asynckit@0.4.0 
│ │   ├─┬ har-validator@4.2.1 
│ │   │ ├── ajv@4.11.8 
│ │   │ └── har-schema@1.0.5 
│ │   ├─┬ 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.4.1 
│ │   │ │ ├── assert-plus@1.0.0 
│ │   │ │ ├── extsprintf@1.3.0 
│ │   │ │ ├── json-schema@0.2.3 
│ │   │ │ └── verror@1.10.0 
│ │   │ └─┬ sshpk@1.13.1 
│ │   │   ├── asn1@0.2.3 
│ │   │   ├── bcrypt-pbkdf@1.0.1 
│ │   │   ├── dashdash@1.14.1 
│ │   │   ├── ecc-jsbn@0.1.1 
│ │   │   ├── getpass@0.1.7 
│ │   │   ├── jsbn@0.1.1 
│ │   │   └── tweetnacl@0.14.5 
│ │   ├── is-typedarray@1.0.0 
│ │   ├── isstream@0.1.2 
│ │   ├── json-stringify-safe@5.0.1 
│ │   ├─┬ mime-types@2.1.17 
│ │   │ └── mime-db@1.30.0 
│ │   ├── oauth-sign@0.8.2 
│ │   ├── performance-now@0.2.0 
│ │   ├── qs@6.4.0 
│ │   ├── safe-buffer@5.1.1 
│ │   ├── stringstream@0.0.5 
│ │   ├─┬ tough-cookie@2.3.3 
│ │   │ └── punycode@1.4.1 
│ │   └── tunnel-agent@0.6.0 
│ └── tmp@0.0.31 
├─┬ babel-eslint@7.2.3 
│ └─┬ babel-code-frame@6.26.0 
│   └── js-tokens@3.0.2 
├─┬ babel-generator@6.26.0 
│ ├── babel-messages@6.23.0 
│ ├─┬ detect-indent@4.0.0 
│ │ └─┬ repeating@2.0.1 
│ │   └─┬ is-finite@1.0.2 
│ │     └── number-is-nan@1.0.1 
│ ├── jsesc@1.3.0 
│ ├── lodash@4.17.4 
│ ├── source-map@0.5.7 
│ └── trim-right@1.0.1 
├── babel-plugin-chai-assert-async@0.1.0 
├─┬ babel-plugin-relay@1.4.1 
│ └── graphql@0.11.7 
├─┬ babel-plugin-transform-async-to-generator@6.24.1 
│ ├── babel-helper-remap-async-to-generator@6.24.1 
│ └── babel-plugin-syntax-async-functions@6.13.0 
├─┬ babel-plugin-transform-class-properties@6.24.1 
│ ├── babel-helper-function-name@6.24.1 
│ ├── babel-plugin-syntax-class-properties@6.13.0 
│ └── babel-template@6.26.0 
├─┬ babel-plugin-transform-decorators-legacy@1.3.4 
│ └── babel-plugin-syntax-decorators@6.13.0 
├── babel-plugin-transform-es2015-destructuring@6.23.0 
├─┬ babel-plugin-transform-es2015-modules-commonjs@6.26.0 
│ └── babel-plugin-transform-strict-mode@6.24.1 
├─┬ babel-plugin-transform-es2015-parameters@6.24.1 
│ ├─┬ babel-helper-call-delegate@6.24.1 
│ │ └── babel-helper-hoist-variables@6.24.1 
│ └── babel-helper-get-function-arity@6.24.1 
├─┬ babel-plugin-transform-object-rest-spread@6.26.0 
│ └── babel-plugin-syntax-object-rest-spread@6.13.0 
├─┬ babel-preset-react@6.24.1 
│ ├── babel-plugin-syntax-jsx@6.18.0 
│ ├── babel-plugin-transform-react-display-name@6.25.0 
│ ├─┬ babel-plugin-transform-react-jsx@6.24.1 
│ │ └── babel-helper-builder-react-jsx@6.26.0 
│ ├── babel-plugin-transform-react-jsx-self@6.22.0 
│ ├── babel-plugin-transform-react-jsx-source@6.22.0 
│ └── babel-preset-flow@6.23.0 
├─┬ chai@3.5.0 
│ ├── assertion-error@1.0.2 
│ ├─┬ deep-eql@0.1.3 
│ │ └── type-detect@0.1.1 
│ └── type-detect@1.0.0 
├── chai-as-promised@5.3.0 
├── classnames@2.2.5 
├── compare-sets@1.0.1 
├── core-decorators@0.19.0 
├── dedent-js@1.0.1 
├── diff@3.2.0 
├─┬ enzyme@2.9.1 
│ ├─┬ cheerio@0.22.0 
│ │ ├─┬ css-select@1.2.0 
│ │ │ ├── boolbase@1.0.0 
│ │ │ ├── css-what@2.1.0 
│ │ │ ├── domutils@1.5.1 
│ │ │ └── nth-check@1.0.1 
│ │ ├─┬ dom-serializer@0.1.0 
│ │ │ └── domelementtype@1.1.3 
│ │ ├── entities@1.1.1 
│ │ ├─┬ htmlparser2@3.9.2 
│ │ │ ├── domelementtype@1.3.0 
│ │ │ └── domhandler@2.4.1 
│ │ ├── lodash.assignin@4.2.0 
│ │ ├── lodash.bind@4.2.1 
│ │ ├── lodash.defaults@4.2.0 
│ │ ├── lodash.filter@4.6.0 
│ │ ├── lodash.flatten@4.4.0 
│ │ ├── lodash.foreach@4.5.0 
│ │ ├── lodash.map@4.6.0 
│ │ ├── lodash.merge@4.6.0 
│ │ ├── lodash.pick@4.4.0 
│ │ ├── lodash.reduce@4.6.0 
│ │ ├── lodash.reject@4.6.0 
│ │ └── lodash.some@4.6.0 
│ ├─┬ function.prototype.name@1.0.3 
│ │ ├─┬ define-properties@1.1.2 
│ │ │ └── foreach@2.0.5 
│ │ ├── function-bind@1.1.1 
│ │ └── is-callable@1.1.3 
│ ├── is-subset@0.1.1 
│ ├── object-is@1.0.1 
│ ├─┬ object.assign@4.1.0 
│ │ ├── has-symbols@1.0.0 
│ │ └── object-keys@1.0.11 
│ ├─┬ object.entries@1.0.4 
│ │ └─┬ es-abstract@1.10.0 
│ │   ├─┬ es-to-primitive@1.1.1 
│ │   │ ├── is-date-object@1.0.1 
│ │   │ └── is-symbol@1.0.1 
│ │   └── is-regex@1.0.4 
│ ├── object.values@1.0.4 
│ └── uuid@3.1.0 
├─┬ eslint@3.19.0 
│ ├─┬ concat-stream@1.6.0 
│ │ ├── inherits@2.0.3 
│ │ ├─┬ readable-stream@2.3.3 
│ │ │ ├── core-util-is@1.0.2 
│ │ │ ├── process-nextick-args@1.0.7 
│ │ │ ├── string_decoder@1.0.3 
│ │ │ └── util-deprecate@1.0.2 
│ │ └── typedarray@0.0.6 
│ ├─┬ debug@2.6.9 
│ │ └── ms@2.0.0 
│ ├── doctrine@2.0.2 
│ ├─┬ escope@3.6.0 
│ │ ├─┬ es6-map@0.1.5 
│ │ │ ├── d@1.0.0 
│ │ │ ├── es5-ext@0.10.37 
│ │ │ ├── es6-iterator@2.0.3 
│ │ │ ├── es6-set@0.1.5 
│ │ │ ├── es6-symbol@3.1.1 
│ │ │ └── event-emitter@0.3.5 
│ │ ├── es6-weak-map@2.0.2 
│ │ └── esrecurse@4.2.0 
│ ├─┬ espree@3.5.2 
│ │ ├── acorn@5.2.1 
│ │ └─┬ acorn-jsx@3.0.1 
│ │   └── acorn@3.3.0 
│ ├── esquery@1.0.0 
│ ├── estraverse@4.2.0 
│ ├── esutils@2.0.2 
│ ├─┬ file-entry-cache@2.0.0 
│ │ └─┬ flat-cache@1.3.0 
│ │   ├── circular-json@0.3.3 
│ │   ├─┬ del@2.2.2 
│ │   │ ├─┬ globby@5.0.0 
│ │   │ │ ├─┬ array-union@1.0.2 
│ │   │ │ │ └── array-uniq@1.0.3 
│ │   │ │ └── arrify@1.0.1 
│ │   │ ├── is-path-cwd@1.0.0 
│ │   │ ├─┬ is-path-in-cwd@1.0.0 
│ │   │ │ └── is-path-inside@1.0.1 
│ │   │ ├── pify@2.3.0 
│ │   │ ├─┬ pinkie-promise@2.0.1 
│ │   │ │ └── pinkie@2.0.4 
│ │   │ └── rimraf@2.6.2 
│ │   └── write@0.2.1 
│ ├─┬ glob@7.1.2 
│ │ ├── fs.realpath@1.0.0 
│ │ ├─┬ inflight@1.0.6 
│ │ │ └── wrappy@1.0.2 
│ │ └── once@1.4.0 
│ ├── globals@9.18.0 
│ ├── ignore@3.3.7 
│ ├── imurmurhash@0.1.4 
│ ├─┬ inquirer@0.12.0 
│ │ ├── ansi-escapes@1.4.0 
│ │ ├── ansi-regex@2.1.1 
│ │ ├─┬ cli-cursor@1.0.2 
│ │ │ └─┬ restore-cursor@1.0.1 
│ │ │   ├── exit-hook@1.1.1 
│ │ │   └── onetime@1.1.0 
│ │ ├── cli-width@2.2.0 
│ │ ├── figures@1.7.0 
│ │ ├─┬ readline2@1.0.1 
│ │ │ └── mute-stream@0.0.5 
│ │ ├── run-async@0.1.0 
│ │ ├── rx-lite@3.1.2 
│ │ ├─┬ string-width@1.0.2 
│ │ │ ├── code-point-at@1.1.0 
│ │ │ └── is-fullwidth-code-point@1.0.0 
│ │ └── through@2.3.8 
│ ├─┬ is-my-json-valid@2.17.1 
│ │ ├── generate-function@2.0.0 
│ │ ├─┬ generate-object-property@1.2.0 
│ │ │ └── is-property@1.0.2 
│ │ ├── jsonpointer@4.0.1 
│ │ └── xtend@4.0.1 
│ ├── is-resolvable@1.0.1 
│ ├─┬ js-yaml@3.10.0 
│ │ ├─┬ argparse@1.0.9 
│ │ │ └── sprintf-js@1.0.3 
│ │ └── esprima@4.0.0 
│ ├─┬ json-stable-stringify@1.0.1 
│ │ └── jsonify@0.0.0 
│ ├─┬ levn@0.3.0 
│ │ ├── prelude-ls@1.1.2 
│ │ └── type-check@0.3.2 
│ ├── natural-compare@1.4.0 
│ ├─┬ optionator@0.8.2 
│ │ ├── deep-is@0.1.3 
│ │ ├── fast-levenshtein@2.0.6 
│ │ └── wordwrap@1.0.0 
│ ├── path-is-inside@1.0.2 
│ ├── pluralize@1.2.1 
│ ├── progress@1.1.8 
│ ├─┬ require-uncached@1.0.3 
│ │ ├─┬ caller-path@0.1.0 
│ │ │ └── callsites@0.2.0 
│ │ └── resolve-from@1.0.1 
│ ├─┬ shelljs@0.7.8 
│ │ ├── interpret@1.1.0 
│ │ └── rechoir@0.6.2 
│ ├── strip-bom@3.0.0 
│ ├── strip-json-comments@2.0.1 
│ ├─┬ table@3.8.3 
│ │ ├─┬ UNMET PEER DEPENDENCY ajv@4.11.8
│ │ │ └── co@4.6.0 
│ │ ├── ajv-keywords@1.5.1 
│ │ └── slice-ansi@0.0.4 
│ ├── text-table@0.2.0 
│ └─┬ user-home@2.0.0 
│   └── os-homedir@1.0.2 
├── eslint-config-fbjs@2.0.0-alpha.1 
├── eslint-config-standard@10.2.1 
├── eslint-plugin-babel@4.1.2 
├── eslint-plugin-flowtype@2.40.1 
├─┬ eslint-plugin-import@2.8.0 
│ ├── builtin-modules@1.1.1 
│ ├── contains-path@0.1.0 
│ ├─┬ doctrine@1.5.0 
│ │ └── isarray@1.0.0 
│ ├── eslint-import-resolver-node@0.3.1 
│ ├─┬ eslint-module-utils@2.1.1 
│ │ └─┬ pkg-dir@1.0.0 
│ │   └─┬ find-up@1.1.2 
│ │     └── path-exists@2.1.0 
│ ├── has@1.0.1 
│ ├── lodash.cond@4.5.2 
│ ├─┬ minimatch@3.0.4 
│ │ └─┬ brace-expansion@1.1.8 
│ │   ├── balanced-match@1.0.0 
│ │   └── concat-map@0.0.1 
│ └─┬ read-pkg-up@2.0.0 
│   ├─┬ find-up@2.1.0 
│   │ └─┬ locate-path@2.0.0 
│   │   ├─┬ p-locate@2.0.0 
│   │   │ └── p-limit@1.1.0 
│   │   └── path-exists@3.0.0 
│   └─┬ read-pkg@2.0.0 
│     ├─┬ load-json-file@2.0.0 
│     │ └─┬ parse-json@2.2.0 
│     │   └─┬ error-ex@1.3.1 
│     │     └── is-arrayish@0.2.1 
│     ├─┬ normalize-package-data@2.4.0 
│     │ ├── hosted-git-info@2.5.0 
│     │ ├── is-builtin-module@1.0.0 
│     │ ├── semver@5.4.1 
│     │ └─┬ validate-npm-package-license@3.0.1 
│     │   ├─┬ spdx-correct@1.0.2 
│     │   │ └── spdx-license-ids@1.2.2 
│     │   └── spdx-expression-parse@1.0.4 
│     └── path-type@2.0.0 
├── eslint-plugin-jasmine@2.9.1 
├─┬ eslint-plugin-node@5.2.1 
│ ├─┬ resolve@1.5.0 
│ │ └── path-parse@1.0.5 
│ └── semver@5.3.0 
├── eslint-plugin-prefer-object-spread@1.2.1 
├── eslint-plugin-promise@3.6.0 
├─┬ UNMET PEER DEPENDENCY eslint-plugin-react@7.5.1
│ └─┬ jsx-ast-utils@2.0.1 
│   └── array-includes@3.0.3 
├── eslint-plugin-standard@3.0.1 
├── etch@0.12.7 
├── event-kit@2.4.0 
├─┬ fs-extra@2.1.2
│ ├── graceful-fs@4.1.11 
│ └── jsonfile@2.4.0 
├─┬ graphql@0.10.5 
│ └── iterall@1.1.3 
├─┬ hock@1.3.2 
│ └── deep-equal@0.2.1 
├── hoist-non-react-statics@1.2.0 
├─┬ keytar@4.1.0 
│ └── nan@2.5.1 
├── lodash.isequal@4.5.0 
├── lodash.memoize@4.1.2 
├─┬ mkdirp@0.5.1 
│ └── minimist@0.0.8 
├─┬ mocha@3.5.3 
│ ├── browser-stdout@1.3.0 
│ ├─┬ commander@2.9.0 
│ │ └── graceful-readlink@1.0.1 
│ ├── debug@2.6.8 
│ ├── escape-string-regexp@1.0.5 
│ ├── glob@7.1.1 
│ ├── growl@1.9.2 
│ ├── he@1.1.1 
│ ├── json3@3.3.2 
│ ├─┬ lodash.create@3.1.1 
│ │ ├─┬ lodash._baseassign@3.2.0 
│ │ │ ├── lodash._basecopy@3.0.1 
│ │ │ └─┬ lodash.keys@3.1.2 
│ │ │   ├── lodash._getnative@3.9.1 
│ │ │   ├── lodash.isarguments@3.1.0 
│ │ │   └── lodash.isarray@3.0.4 
│ │ ├── lodash._basecreate@3.0.3 
│ │ └── lodash._isiterateecall@3.0.9 
│ └─┬ supports-color@3.1.2 
│   └── has-flag@1.0.0 
├─┬ mocha-appveyor-reporter@0.4.0 
│ └─┬ request-json@0.6.2 
│   ├── depd@1.1.0 
│   └─┬ request@2.74.0 
│     ├── aws-sign2@0.6.0 
│     ├─┬ bl@1.1.2 
│     │ └─┬ readable-stream@2.0.6 
│     │   └── string_decoder@0.10.31 
│     ├── caseless@0.11.0 
│     ├─┬ form-data@1.0.1 
│     │ └── async@2.6.0 
│     ├── har-validator@2.0.6 
│     ├─┬ 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 
│     ├── node-uuid@1.4.8 
│     ├── qs@6.2.3 
│     └── tunnel-agent@0.4.3 
├─┬ mocha-junit-and-console-reporter@1.6.0 
│ ├─┬ mocha@2.5.3 
│ │ ├── commander@2.3.0 
│ │ ├─┬ debug@2.2.0 
│ │ │ └── ms@0.7.1 
│ │ ├── diff@1.4.0 
│ │ ├── escape-string-regexp@1.0.2 
│ │ ├─┬ glob@3.2.11 
│ │ │ └─┬ minimatch@0.3.0 
│ │ │   ├── lru-cache@2.7.3 
│ │ │   └── sigmund@1.0.1 
│ │ ├─┬ jade@0.26.3 
│ │ │ ├── commander@0.6.1 
│ │ │ └── mkdirp@0.3.0 
│ │ ├── supports-color@1.2.0 
│ │ └── to-iso-string@0.0.2 
│ └── xml@1.0.1 
├── moment@2.20.1 
├── multi-list-selection@0.1.1 
├── ncp@2.0.0 
├─┬ node-fetch@1.7.3 
│ ├─┬ encoding@0.1.12 
│ │ └── iconv-lite@0.4.19 
│ └── is-stream@1.1.0 
├─┬ prop-types@15.6.0 
│ ├── loose-envify@1.3.1 
│ └── object-assign@4.1.1 
├─┬ react@15.6.2 
│ └── create-react-class@15.6.2 
├── react-dom@15.6.2 
├─┬ react-relay@1.4.1 
│ └── UNMET PEER DEPENDENCY relay-compiler@1.4.1
├── react-test-renderer@15.6.2 
├── UNMET PEER DEPENDENCY relay-compiler@1.4.1
├─┬ relay-runtime@1.4.1 
│ └── relay-debugger-react-native-runtime@0.0.10 
├── simulant@0.2.2 
├─┬ sinon@2.4.1 
│ ├── formatio@1.2.0 
│ ├── lolex@1.6.0 
│ ├── native-promise-only@0.8.1 
│ ├─┬ path-to-regexp@1.7.0 
│ │ └── isarray@0.0.1 
│ ├── samsam@1.3.0 
│ ├── text-encoding@0.6.4 
│ └── type-detect@4.0.5 
├─┬ temp@0.8.3 
│ ├── os-tmpdir@1.0.2 
│ └── rimraf@2.2.8 
├── test-until@1.1.1 
├── tinycolor2@1.4.1 
├── tree-kill@1.2.0 
├── what-the-diff@0.3.0 
├─┬ what-the-status@1.0.2 
│ └── split@1.0.1 
└── yubikiri@1.0.0 

npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/node_modules/dugite/script/config.js:32
  const index = pathName.lastIndexOf('/')
                         ^

TypeError: Cannot read property 'lastIndexOf' of null
    at getConfig (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/node_modules/dugite/script/config.js:32:26)
    at Object.<anonymous> (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/node_modules/dugite/script/download-git.js:11:35)
    at Module._compile (module.js:612:30)                  
    at Object.Module._extensions..js (module.js:623:10)    
    at Module.load (module.js:531:32)                      
    at tryModuleLoad (module.js:494:12)                    
    at Function.Module._load (module.js:486:3)             
    at Function.Module.runMain (module.js:653:10)          
    at startup (bootstrap_node.js:187:16)                  
    at bootstrap_node.js:608:3                             
           } 
         }],  # OS=="linux"
+        ['OS=="freebsd"', {
+          "sources": [
+            "src/keyboard-layout-manager-linux.cc",
+          ],
+          "include_dirs": [ 
+            "/usr/local/include" 
+          ],
+          "link_settings": {
+            "libraries": [
+              "-L/usr/local/lib", "-lX11", "-lxkbfile"
+            ]
+          }
+        }],  # OS=="linux"
       ]
     } 
   ]
--- a/node_modules/keyboard-layout/src/keyboard-layout-manager.h        2017-12-08 22:30:01.335245000 +0400
npm WARN relay-runtime@1.4.1 requires a peer of relay-compiler@1.4.1 but none was installed.                           
npm WARN relay-runtime@1.4.0 requires a peer of relay-compiler@1.4.0 but none was installed.                           
npm WARN eslint-config-fbjs@2.0.0-alpha.1 requires a peer of eslint-plugin-react@^6.7.1 but none was installed.        
npm ERR! FreeBSD 11.1-RELEASE-p4                           
ig" "/home/yonas/.atom/.apmrc" "install" "--runtime=electron" "--target=1.6.15" "--arch=x64"                           
npm ERR! node v8.8.1                                       
npm ERR! npm  v3.10.10                                     
npm ERR! code ELIFECYCLE                                   

npm ERR! dugite@1.49.0 postinstall: `node ./script/download-git.js`                                                    
npm ERR! Exit status 1                                     
npm ERR!                                                   
npm ERR! Failed at the dugite@1.49.0 postinstall script 'node ./script/download-git.js'.                               
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 dugite package,                                             
npm ERR! not with npm itself.                              
npm ERR! Tell the author that this fails on your system:   
npm ERR!     node ./script/download-git.js                 
npm ERR! You can get information on how to open an issue for this project with:                                        
npm ERR!     npm bugs dugite                               
npm ERR! Or if that isn't available, you can get their info via:                                                       
npm ERR!     npm owner ls dugite                           
npm ERR! There is likely additional logging output above.  

npm ERR! Please include the following file with any support request:                                                   
npm ERR!     /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/node_modules/github/npm-debug.log   
child_process.js:621                                       
    throw err;                                             
    ^                                                      

Error: Command failed: /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/apm/node_modules/atom-package-manager/bin/apm --loglevel=error install                                                                           
  at checkExecSyncError (child_process.js:598:13)          
  at Object.execFileSync (child_process.js:618:13)         
  at module.exports (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/lib/run-apm-install.js:14:16)                                                                                                               
  at module.exports (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/lib/transpile-packages-with-custom-transpiler-paths.js:30:7)                                                                                
  at Object.<anonymous> (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/build:64:3)      
  at Module._compile (module.js:612:30)                    
  at Object.Module._extensions..js (module.js:623:10)      
  at Module.load (module.js:531:32)                        
  at tryModuleLoad (module.js:494:12)                      
  at Function.Module._load (module.js:486:3)               
  at Function.Module.runMain (module.js:653:10)            
  at startup (bootstrap_node.js:187:16)                    
  at bootstrap_node.js:608:3         
yonas commented 6 years ago

For some reason, the removal of dugite wasn't applied from atom3.diff, although the removal of nsfw worked:

--- a/node_modules/github/package.json  2017-12-13 21:03:46.089828000 +0400
+++ b/node_modules/github/package.json  2017-12-13 21:10:17.926552000 +0400
@ -134,7 +134,6 @@
     "compare-sets": "^1.0.1",
     "core-decorators": "^0.19.0",
     "diff": "3.2.0",
-    "dugite": "1.49.0",
     "etch": "^0.12.4",
     "event-kit": "^2.3.0",
     "fs-extra": "^2.1.2",
yonas commented 6 years ago

After manually fixing node_modules/github/package.json, I get this error:

Installing modules ✓                                       
Transpiling Babel paths in /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app               
Transpiling CoffeeScript paths in /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app        
Transpiling CSON paths in /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app                
Transpiling PEG.js paths in /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app              
Generating module cache for /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app              
Generating pre-built less cache in /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app/less-compile-cache                                                                                                           
Generating metadata for /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app/package.json     
Generating API docs at /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/docs/output/atom-api.json 
Skipping symbol dumping because minidump is not supported on Windows                                                   
Running electron-packager on /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/out/app with app name "atom"                                                                                                               
Downloading electron-v1.6.15-freebsd-x64.zip               
Error: GET https://github.com/electron/electron/releases/download/v1.6.15/electron-v1.6.15-freebsd-x64.zip returned 404                                                                                                                       
/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/lib/package-application.js:141            
        throw new Error(err)                               
        ^                                                  

Error: Error: Failed to find Electron v1.6.15 for freebsd-x64 at https://github.com/electron/electron/releases/download/v1.6.15/electron-v1.6.15-freebsd-x64.zip                                                                              
  at electronPackager (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/lib/package-application.js:141:15)                                                                                                        
  at /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/electron-packager/index.js:212:23                                                                                                              
  at end (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/run-series/index.js:8:15)                                                                                                                 
  at done (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/run-series/index.js:11:10)                                                                                                               
  at each (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/run-series/index.js:16:43)                                                                                                               
  at /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/electron-packager/index.js:115:25                                                                                                              
  at /usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/electron-download/index.js:67:20                                                                                                               
  at done (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/nugget/index.js:58:9)                                                                                                                    
  at Request.<anonymous> (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/nugget/index.js:170:58)                                                                                                   
  at emitOne (events.js:115:13)                            
  at Request.emit (events.js:210:7)                        
  at Request.onRequestResponse (/usr/home/yonas/git/Electron-VSCode-Atom-For-FreeBSD-master/atom/atom/script/node_modules/request/request.js:1068:10)                                                                                         
  at emitOne (events.js:115:13)                            
  at ClientRequest.emit (events.js:210:7)                  
  at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:549:21)                                        
  at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)                                                       
  at TLSSocket.socketOnData (_http_client.js:438:20)       
  at emitOne (events.js:115:13)                            
  at TLSSocket.emit (events.js:210:7)                      
  at addChunk (_stream_readable.js:263:12)                 
  at readableAddChunk (_stream_readable.js:250:11)         
  at TLSSocket.Readable.push (_stream_readable.js:208:10)  
  at TLSWrap.onread (net.js:597:20)     
yonas commented 6 years ago

If we can get electron-packager to download electron-v1.6.15-freebsd-x64.zip from your repository, I think that would fix it.

prash-wghats commented 6 years ago

I think when patching from atom3.diff there was some error and rest of the commands from build_atom.sh was not executed. build_atom.sh copies electron-v1.6.15-freebsd-x64.zip locally so that electron-packager doesn't try to download and fail.

yonas commented 6 years ago

Thanks, that was the issue :)