Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.92 KB | None | 0 0
  1. jeggy@jeggy-Lenovo-Z50-70:~/Downloads$ sudo npm install --global create-graphql
  2. npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
  3. /usr/local/bin/create-graphql -> /usr/local/lib/node_modules/create-graphql/bin/create-graphql
  4.  
  5. > spawn-sync@1.0.15 postinstall /usr/local/lib/node_modules/create-graphql/node_modules/spawn-sync
  6. > node postinstall
  7.  
  8.  
  9. > yo@1.8.5 postinstall /usr/local/lib/node_modules/create-graphql/node_modules/yo
  10. > yodoctor
  11.  
  12.  
  13. Yeoman Doctor
  14. Running sanity checks on your system
  15.  
  16. ✔ Global configuration file is valid
  17. ✔ NODE_PATH matches the npm root
  18. ✔ Node.js version
  19. ✔ No .bowerrc file in home directory
  20. ✔ No .yo-rc.json file in home directory
  21. ✔ npm version
  22.  
  23. Everything looks all right!
  24.  
  25. > create-graphql@1.1.16 postinstall /usr/local/lib/node_modules/create-graphql
  26. > npm i -g generator-graphql
  27.  
  28. npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
  29. /usr/local/lib
  30. └─┬ generator-graphql@1.1.16
  31.   ├─┬ babel-polyfill@6.23.0
  32.   │ ├── babel-runtime@6.23.0
  33.   │ ├── core-js@2.4.1
  34.   │ └── regenerator-runtime@0.10.3
  35.   ├── babylon@6.16.1
  36.   ├─┬ chalk@1.1.3
  37.   │ ├── ansi-styles@2.2.1
  38.   │ ├── escape-string-regexp@1.0.5
  39.   │ ├─┬ has-ansi@2.0.0
  40.   │ │ └── ansi-regex@2.1.1
  41.   │ ├── strip-ansi@3.0.1
  42.   │ └── supports-color@2.0.0
  43.   ├── colors@1.1.2
  44.   ├── lodash.merge@4.6.0
  45.   ├─┬ ora@0.4.1
  46.   │ ├─┬ cli-cursor@2.1.0
  47.   │ │ └─┬ restore-cursor@2.0.0
  48.   │ │   ├─┬ onetime@2.0.0
  49.   │ │   │ └── mimic-fn@1.1.0
  50.   │ │   └── signal-exit@3.0.2
  51.   │ ├── cli-spinners@1.0.0
  52.   │ └── log-symbols@1.0.2
  53.   ├─┬ pkg-dir@1.0.0
  54.   │ └─┬ find-up@1.1.2
  55.   │   └─┬ pinkie-promise@2.0.1
  56.   │     └── pinkie@2.0.4
  57.   ├── pluralize@3.1.0
  58.   ├── ramda@0.22.1
  59.   ├─┬ recast@0.11.22
  60.   │ ├── ast-types@0.9.5
  61.   │ ├── esprima@3.1.3
  62.   │ ├── private@0.1.7
  63.   │ └── source-map@0.5.6
  64.   ├── semver@5.3.0
  65.   ├─┬ shelljs@0.7.6
  66.   │ ├─┬ glob@7.1.1
  67.   │ │ ├── fs.realpath@1.0.0
  68.   │ │ ├─┬ inflight@1.0.6
  69.   │ │ │ └── wrappy@1.0.2
  70.   │ │ ├── inherits@2.0.3
  71.   │ │ ├─┬ minimatch@3.0.3
  72.   │ │ │ └─┬ brace-expansion@1.1.6
  73.   │ │ │   ├── balanced-match@0.4.2
  74.   │ │ │   └── concat-map@0.0.1
  75.   │ │ └── once@1.4.0
  76.   │ ├── interpret@1.0.1
  77.   │ └─┬ rechoir@0.6.2
  78.   │   └─┬ resolve@1.3.2
  79.   │     └── path-parse@1.0.5
  80.   └─┬ yeoman-generator@1.1.0
  81.     ├── async@2.1.5
  82.     ├─┬ class-extend@0.1.2
  83.     │ └── object-assign@2.1.1
  84.     ├─┬ cli-table@0.3.1
  85.     │ └── colors@1.0.3
  86.     ├─┬ cross-spawn@4.0.2
  87.     │ ├─┬ lru-cache@4.0.2
  88.     │ │ ├── pseudomap@1.0.2
  89.     │ │ └── yallist@2.0.0
  90.     │ └─┬ which@1.2.12
  91.     │   └── isexe@1.1.2
  92.     ├─┬ dargs@4.1.0
  93.     │ └── number-is-nan@1.0.1
  94.     ├─┬ dateformat@1.0.12
  95.     │ ├── get-stdin@4.0.1
  96.     │ └─┬ meow@3.7.0
  97.     │   ├─┬ camelcase-keys@2.1.0
  98.     │   │ └── camelcase@2.1.1
  99.     │   ├── decamelize@1.2.0
  100.     │   ├─┬ loud-rejection@1.6.0
  101.     │   │ └─┬ currently-unhandled@0.4.1
  102.     │   │   └── array-find-index@1.0.2
  103.     │   ├── map-obj@1.0.1
  104.     │   ├─┬ normalize-package-data@2.3.5
  105.     │   │ ├── hosted-git-info@2.2.0
  106.     │   │ ├─┬ is-builtin-module@1.0.0
  107.     │   │ │ └── builtin-modules@1.1.1
  108.     │   │ └─┬ validate-npm-package-license@3.0.1
  109.     │   │   ├─┬ spdx-correct@1.0.2
  110.     │   │   │ └── spdx-license-ids@1.2.2
  111.     │   │   └── spdx-expression-parse@1.0.4
  112.     │   ├── object-assign@4.1.1
  113.     │   ├─┬ redent@1.0.0
  114.     │   │ ├─┬ indent-string@2.1.0
  115.     │   │ │ └─┬ repeating@2.0.1
  116.     │   │ │   └── is-finite@1.0.2
  117.     │   │ └── strip-indent@1.0.1
  118.     │   └── trim-newlines@1.0.0
  119.     ├─┬ debug@2.6.1
  120.     │ └── ms@0.7.2
  121.     ├── detect-conflict@1.0.1
  122.     ├─┬ error@7.0.2
  123.     │ ├── string-template@0.2.1
  124.     │ └── xtend@4.0.1
  125.     ├─┬ github-username@2.1.0
  126.     │ └─┬ gh-got@2.4.0
  127.     │   ├─┬ got@5.7.1
  128.     │   │ ├─┬ create-error-class@3.0.2
  129.     │   │ │ └── capture-stack-trace@1.0.0
  130.     │   │ ├── duplexer2@0.1.4
  131.     │   │ ├── is-redirect@1.0.0
  132.     │   │ ├── is-retry-allowed@1.1.0
  133.     │   │ ├── lowercase-keys@1.0.0
  134.     │   │ ├── node-status-codes@1.0.0
  135.     │   │ ├── object-assign@4.1.1
  136.     │   │ ├─┬ parse-json@2.2.0
  137.     │   │ │ └─┬ error-ex@1.3.0
  138.     │   │ │   └── is-arrayish@0.2.1
  139.     │   │ ├── read-all-stream@3.1.0
  140.     │   │ ├── timed-out@3.1.3
  141.     │   │ ├── unzip-response@1.0.2
  142.     │   │ └─┬ url-parse-lax@1.0.0
  143.     │   │   └── prepend-http@1.0.4
  144.     │   └── object-assign@4.1.1
  145.     ├─┬ istextorbinary@2.1.0
  146.     │ ├── binaryextensions@2.0.0
  147.     │ ├── editions@1.3.3
  148.     │ └── textextensions@2.0.1
  149.     ├── lodash@4.17.4
  150.     ├─┬ mem-fs-editor@3.0.2
  151.     │ ├── commondir@1.0.1
  152.     │ ├── deep-extend@0.4.1
  153.     │ ├── ejs@2.5.6
  154.     │ ├─┬ globby@6.1.0
  155.     │ │ ├─┬ array-union@1.0.2
  156.     │ │ │ └── array-uniq@1.0.3
  157.     │ │ ├── object-assign@4.1.1
  158.     │ │ └── pify@2.3.0
  159.     │ ├─┬ multimatch@2.1.0
  160.     │ │ ├── array-differ@1.0.0
  161.     │ │ └── arrify@1.0.1
  162.     │ └─┬ vinyl@2.0.1
  163.     │   ├── clone@1.0.2
  164.     │   ├── clone-buffer@1.0.0
  165.     │   ├── clone-stats@1.0.0
  166.     │   ├── cloneable-readable@1.0.0
  167.     │   ├── is-stream@1.1.0
  168.     │   ├── remove-trailing-separator@1.0.1
  169.     │   └── replace-ext@1.0.0
  170.     ├── minimist@1.2.0
  171.     ├─┬ mkdirp@0.5.1
  172.     │ └── minimist@0.0.8
  173.     ├── path-exists@2.1.0
  174.     ├── path-is-absolute@1.0.1
  175.     ├── pretty-bytes@3.0.1
  176.     ├── read-chunk@1.0.1
  177.     ├─┬ read-pkg-up@1.0.1
  178.     │ └─┬ read-pkg@1.1.0
  179.     │   ├─┬ load-json-file@1.1.0
  180.     │   │ ├── graceful-fs@4.1.11
  181.     │   │ └─┬ strip-bom@2.0.0
  182.     │   │   └── is-utf8@0.2.1
  183.     │   └── path-type@1.1.0
  184.     ├── rimraf@2.6.1
  185.     ├─┬ run-async@2.3.0
  186.     │ └── is-promise@2.1.0
  187.     ├── text-table@0.2.0
  188.     ├─┬ through2@2.0.3
  189.     │ └─┬ readable-stream@2.2.3
  190.     │   ├── buffer-shims@1.0.0
  191.     │   ├── core-util-is@1.0.2
  192.     │   ├── isarray@1.0.0
  193.     │   ├── process-nextick-args@1.0.7
  194.     │   ├── string_decoder@0.10.31
  195.     │   └── util-deprecate@1.0.2
  196.     ├─┬ user-home@2.0.0
  197.     │ └── os-homedir@1.0.2
  198.     └─┬ yeoman-environment@1.6.6
  199.       ├── diff@2.2.3
  200.       ├─┬ globby@4.1.0
  201.       │ ├── glob@6.0.4
  202.       │ └── object-assign@4.1.1
  203.       ├── grouped-queue@0.3.3
  204.       ├─┬ inquirer@1.2.3
  205.       │ ├── ansi-escapes@1.4.0
  206.       │ ├─┬ cli-cursor@1.0.2
  207.       │ │ └─┬ restore-cursor@1.0.1
  208.       │ │   ├── exit-hook@1.1.1
  209.       │ │   └── onetime@1.1.0
  210.       │ ├── cli-width@2.1.0
  211.       │ ├─┬ external-editor@1.1.1
  212.       │ │ ├── extend@3.0.0
  213.       │ │ ├─┬ spawn-sync@1.0.15
  214.       │ │ │ ├─┬ concat-stream@1.6.0
  215.       │ │ │ │ └── typedarray@0.0.6
  216.       │ │ │ └── os-shim@0.1.3
  217.       │ │ └─┬ tmp@0.0.29
  218.       │ │   └── os-tmpdir@1.0.2
  219.       │ ├─┬ figures@1.7.0
  220.       │ │ └── object-assign@4.1.1
  221.       │ ├── mute-stream@0.0.6
  222.       │ ├── rx@4.1.0
  223.       │ ├─┬ string-width@1.0.2
  224.       │ │ ├── code-point-at@1.1.0
  225.       │ │ └── is-fullwidth-code-point@1.0.0
  226.       │ └── through@2.3.8
  227.       ├─┬ mem-fs@1.1.3
  228.       │ ├─┬ vinyl@1.2.0
  229.       │ │ ├── clone-stats@0.0.1
  230.       │ │ └── replace-ext@0.0.1
  231.       │ └─┬ vinyl-file@2.0.0
  232.       │   ├─┬ strip-bom-stream@2.0.0
  233.       │   │ └── first-chunk-stream@2.0.0
  234.       │   └─┬ vinyl@1.2.0
  235.       │     ├── clone-stats@0.0.1
  236.       │     └── replace-ext@0.0.1
  237.       └── untildify@2.1.0
  238.  
  239. npm ERR! Linux 4.4.0-64-generic
  240. npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "-g" "generator-graphql"
  241. npm ERR! node v6.10.0
  242. npm ERR! npm  v3.10.10
  243. npm ERR! path /usr/local/lib/node_modules
  244. npm ERR! code EACCES
  245. npm ERR! errno -13
  246. npm ERR! syscall access
  247.  
  248. npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
  249. npm ERR!     at Error (native)
  250. npm ERR!  { Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
  251. npm ERR!     at Error (native)
  252. npm ERR!   errno: -13,
  253. npm ERR!   code: 'EACCES',
  254. npm ERR!   syscall: 'access',
  255. npm ERR!   path: '/usr/local/lib/node_modules' }
  256. npm ERR!
  257. npm ERR! Please try running this command again as root/Administrator.
  258.  
  259. npm ERR! Please include the following file with any support request:
  260. npm ERR!     /usr/local/lib/node_modules/create-graphql/npm-debug.log
  261. /usr/local/lib
  262. └── (empty)
  263.  
  264. npm ERR! Linux 4.4.0-64-generic
  265. npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--global" "create-graphql"
  266. npm ERR! node v6.10.0
  267. npm ERR! npm  v3.10.10
  268. npm ERR! code ELIFECYCLE
  269.  
  270. npm ERR! create-graphql@1.1.16 postinstall: `npm i -g generator-graphql`
  271. npm ERR! Exit status 243
  272. npm ERR!
  273. npm ERR! Failed at the create-graphql@1.1.16 postinstall script 'npm i -g generator-graphql'.
  274. npm ERR! Make sure you have the latest version of node.js and npm installed.
  275. npm ERR! If you do, this is most likely a problem with the create-graphql package,
  276. npm ERR! not with npm itself.
  277. npm ERR! Tell the author that this fails on your system:
  278. npm ERR!     npm i -g generator-graphql
  279. npm ERR! You can get information on how to open an issue for this project with:
  280. npm ERR!     npm bugs create-graphql
  281. npm ERR! Or if that isn't available, you can get their info via:
  282. npm ERR!     npm owner ls create-graphql
  283. npm ERR! There is likely additional logging output above.
  284.  
  285. npm ERR! Please include the following file with any support request:
  286. npm ERR!     /home/jeggy/Downloads/npm-debug.log
  287. npm ERR! code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement