Created
March 29, 2016 09:54
-
-
Save deveshmittal/49e939e56e8044150846 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Last login: Sat Mar 26 03:07:00 on ttys003 | |
| Deveshs-MacBook-Pro:~ devesh$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 7766 100 7766 0 0 1348 0 0:00:05 0:00:05 --:--:-- 1836 | |
| => Downloading nvm from git to '/Users/devesh/.nvm' | |
| => Cloning into '/Users/devesh/.nvm'... | |
| remote: Counting objects: 4426, done. | |
| remote: Total 4426 (delta 0), reused 0 (delta 0), pack-reused 4426 | |
| Receiving objects: 100% (4426/4426), 1.11 MiB | 525.00 KiB/s, done. | |
| Resolving deltas: 100% (2601/2601), done. | |
| Checking connectivity... done. | |
| * (HEAD detached at v0.31.0) | |
| master | |
| => Appending source string to /Users/devesh/.bash_profile | |
| => Close and reopen your terminal to start using nvm | |
| Deveshs-MacBook-Pro:~ devesh$ nvm | |
| -bash: nvm: command not found | |
| Deveshs-MacBook-Pro:~ devesh$ source ~ | |
| -bash: source: /Users/devesh: is a directory | |
| Deveshs-MacBook-Pro:~ devesh$ source ~/. | |
| -bash: source: /Users/devesh/.: is a directory | |
| Deveshs-MacBook-Pro:~ devesh$ source ~/ | |
| -bash: source: /Users/devesh/: is a directory | |
| Deveshs-MacBook-Pro:~ devesh$ source /Users/devesh/.bash_profile | |
| Deveshs-MacBook-Pro:~ devesh$ git status | |
| fatal: Not a git repository (or any of the parent directories): .git | |
| Deveshs-MacBook-Pro:~ devesh$ nvm | |
| Node Version Manager | |
| Note: <version> refers to any version-like string nvm understands. This includes: | |
| - full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1) | |
| - default (built-in) aliases: node, stable, unstable, iojs, system | |
| - custom aliases you define with `nvm alias foo` | |
| Usage: | |
| nvm help Show this message | |
| nvm --version Print out the latest released version of nvm | |
| nvm install [-s] <version> Download and install a <version>, [-s] from source. Uses .nvmrc if available | |
| --reinstall-packages-from=<version> When installing, reinstall packages installed in <node|iojs|node version number> | |
| nvm uninstall <version> Uninstall a version | |
| nvm use [--silent] <version> Modify PATH to use <version>. Uses .nvmrc if available | |
| nvm exec [--silent] <version> [<command>] Run <command> on <version>. Uses .nvmrc if available | |
| nvm run [--silent] <version> [<args>] Run `node` on <version> with <args> as arguments. Uses .nvmrc if available | |
| nvm current Display currently activated version | |
| nvm ls List installed versions | |
| nvm ls <version> List versions matching a given description | |
| nvm ls-remote List remote versions available for install | |
| nvm version <version> Resolve the given description to a single local version | |
| nvm version-remote <version> Resolve the given description to a single remote version | |
| nvm deactivate Undo effects of `nvm` on current shell | |
| nvm alias [<pattern>] Show all aliases beginning with <pattern> | |
| nvm alias <name> <version> Set an alias named <name> pointing to <version> | |
| nvm unalias <name> Deletes the alias named <name> | |
| nvm reinstall-packages <version> Reinstall global `npm` packages contained in <version> to current version | |
| nvm unload Unload `nvm` from shell | |
| nvm which [<version>] Display path to installed node version. Uses .nvmrc if available | |
| Example: | |
| nvm install v0.10.32 Install a specific version number | |
| nvm use 0.10 Use the latest available 0.10.x release | |
| nvm run 0.10.32 app.js Run app.js using node v0.10.32 | |
| nvm exec 0.10.32 node app.js Run `node app.js` with the PATH pointing to node v0.10.32 | |
| nvm alias default 0.10.32 Set default node version on a shell | |
| Note: | |
| to remove, delete, or uninstall nvm - just remove the `$NVM_DIR` folder (usually `~/.nvm`) | |
| Deveshs-MacBook-Pro:~ devesh$ nvm install node && nvm alias default node | |
| Downloading https://nodejs.org/dist/v5.9.1/node-v5.9.1-darwin-x64.tar.gz... | |
| ######################################################################## 100.0% | |
| Now using node v5.9.1 (npm v3.7.3) | |
| Creating default alias: default -> node (-> v5.9.1) | |
| default -> node (-> v5.9.1) | |
| Deveshs-MacBook-Pro:~ devesh$ source /Users/devesh/.bash_profile | |
| Deveshs-MacBook-Pro:~ devesh$ brew install watchman | |
| ==> Installing dependencies for watchman: pcre | |
| ==> Installing watchman dependency: pcre | |
| ==> Downloading https://homebrew.bintray.com/bottles/pcre-8.38.el_capitan.bottle | |
| ######################################################################## 100.0% | |
| ==> Pouring pcre-8.38.el_capitan.bottle.tar.gz | |
| Error: The `brew link` step did not complete successfully | |
| The formula built, but is not symlinked into /usr/local | |
| Could not symlink lib/libpcre.1.dylib | |
| /usr/local/lib is not writable. | |
| You can try again using: | |
| brew link pcre | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/pcre/8.38: 146 files, 5.4M | |
| ==> Installing watchman | |
| ==> Downloading https://homebrew.bintray.com/bottles/watchman-4.4.0.el_capitan.b | |
| ######################################################################## 100.0% | |
| ==> Pouring watchman-4.4.0.el_capitan.bottle.tar.gz | |
| 🍺 /usr/local/Cellar/watchman/4.4.0: 20 files, 341.5K | |
| Deveshs-MacBook-Pro:~ devesh$ brew update | |
| Updated Homebrew from 7415ec2 to 8999034. | |
| ==> New Formulae | |
| asciinema2gif elixirscript neofetch | |
| aws-keychain exomizer prometheus | |
| aws-shell exploitdb sgfutils | |
| bde flatcc slacknimate | |
| bgpstream gnu-complexity snakemake | |
| bork jflex supervisor | |
| buku jfrog-cli-go terraform-inventory | |
| conan jo translate-shell | |
| connect kommit twtxt | |
| cucumber-cpp libucl wandio | |
| docker-machine-nfs mkdocs znapzend | |
| dropbox-uploader mlton | |
| ==> Updated Formulae | |
| abcm2ps golo nomad | |
| abcmidi googler noti | |
| abduco goolabs nsd | |
| abnfgen gperftools nss | |
| acmetool gpsd nvi | |
| acpica gradle offlineimap | |
| activemq graphite2 omniorb | |
| activemq-cpp grib-api open-mesh | |
| aespipe groonga openrtsp | |
| afflib gst-libav openshift-cli | |
| afl-fuzz gst-plugins-bad openssl ✔ | |
| agedu gst-plugins-base orc | |
| airspy gst-plugins-good packer | |
| algernon gst-plugins-ugly pandoc | |
| align gst-python parrot | |
| ammonite-repl gst-validate passenger | |
| android-ndk gstreamer pdf2htmlex | |
| ansible-cmdb gtk+ percona-server | |
| ansifilter gtk+3 pgroonga | |
| antlr h2o picocom | |
| apache-drill harfbuzz pkg-config | |
| apache-spark heroku-toolbelt planck | |
| app-engine-go-32 highlighting-kate plantuml | |
| app-engine-go-64 htop platformio | |
| app-engine-python idris pngquant | |
| arabica imagemagick poco | |
| arangodb imapsync poppler | |
| aria2 infer postgrest | |
| artifactory influxdb protobuf-swift | |
| arx internetarchive purescript | |
| aurora-cli irssi putty | |
| autocode jboss-forge pyenv | |
| autoconf-archive jenkins ✔ pypy | |
| autogen jenv pyqt5 | |
| avrdude jetty pyvim | |
| avro-c jsoncpp qbs | |
| avro-cpp jvgrep qcachegrind | |
| avro-tools kafka qt5 | |
| awscli kapacitor quex | |
| axel keybase r3 | |
| azure-cli khard rabbitmq | |
| b2-tools kibana racket | |
| babeld kitchen-sync radare2 | |
| bacula-fd knot rdup | |
| bagit known_hosts re2 | |
| basex kobalt redpen | |
| bind kotlin remctl | |
| binutils kstart rethinkdb | |
| bokken kubernetes-cli rocksdb | |
| caf lbdb rust | |
| cake lbzip2 s-search | |
| camlp5 ldapvi sbcl | |
| carina ldid scala | |
| carthage letsencrypt scw | |
| cassandra lfe sdl_gfx | |
| ceylon libcapn shared-mime-info | |
| cfr-decompiler libcec shibboleth-sp | |
| clamav libcouchbase skinny | |
| clang-format libdsk snzip | |
| closure-compiler libetonyek sonar | |
| cmake libgraphqlparser sourcekitten | |
| commonmark libjson-rpc-cpp spaceman-diff | |
| cromwell libmaxminddb sphinx-doc | |
| crystal-lang libotr sqlite | |
| curl libpagemaker sqlmap | |
| dcd libpointing ssh-copy-id | |
| dependency-check libqglviewer sshrc | |
| devd libressl sshuttle | |
| dialog librsync sslscan | |
| diff-pdf libsass stunnel | |
| diff-so-fancy libsigc++ swift | |
| discount libspatialite swiftgen | |
| dlite libtins swiftlint | |
| dmd libtorrent-rasterbar syncthing | |
| docker libvirt tailor | |
| docker-machine-parallels libwebm tarsnap | |
| docker-swarm libxmp-lite task | |
| doctl logtalk tbb | |
| dpkg lsyncd telegraf | |
| duply lynis terraform | |
| dxpy mackup thefuck | |
| dynamodb-local macvim tippecanoe | |
| elasticsearch mailhog tomcat | |
| eprover mariadb tomcat-native | |
| erlang media-info transmission | |
| exim mediaconch unbound | |
| flatbuffers mercurial unp | |
| flow mesos v8 | |
| flyway metabase vault | |
| fzf mg3a vc4asm | |
| g3log minizinc vcsh | |
| galen mitmproxy vdirsyncer | |
| gcab mockserver vim | |
| gdb mogenerator walkmod | |
| gdm monetdb watson | |
| getdns mongodb webkitgtk | |
| ghq monkeysphere wimlib | |
| ginac mpv wine | |
| git mr winetricks | |
| git-annex multimarkdown wireshark | |
| git-credential-manager multirust wolfssl | |
| git-fresh mycli writerperfect | |
| git-lfs nanopb-generator xmp | |
| git-vendor nasm yank | |
| gitlab-ci-multi-runner nesc youtube-dl | |
| gjstest nghttp2 zinc | |
| glide nifi znc | |
| glm nkf zookeeper | |
| global nmap zsh-completions | |
| gnutls node ✔ | |
| godep node-build | |
| ==> Deleted Formulae | |
| arpon asm6 fleet-db libodbc++ ngrok xulrunner | |
| Deveshs-MacBook-Pro:~ devesh$ brew install flow | |
| ==> Downloading https://homebrew.bintray.com/bottles/flow-0.22.1.el_capitan.bott | |
| ######################################################################## 100.0% | |
| ==> Pouring flow-0.22.1.el_capitan.bottle.tar.gz | |
| ==> Caveats | |
| Bash completion has been installed to: | |
| /usr/local/etc/bash_completion.d | |
| zsh completion has been installed to: | |
| /usr/local/share/zsh/site-functions | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/flow/0.22.1: 6 files, 5.7M | |
| Deveshs-MacBook-Pro:~ devesh$ brew update && brew upgrade | |
| Already up-to-date. | |
| ==> Upgrading 3 outdated packages, with result: | |
| jenkins 1.653, node 5.9.1, openssl 1.0.2g | |
| ==> Upgrading jenkins | |
| ==> Downloading http://mirrors.jenkins-ci.org/war/1.653/jenkins.war | |
| ==> Downloading from http://ftp-chi.osuosl.org/pub/jenkins/war/1.653/jenkins.war | |
| ######################################################################## 100.0% | |
| ==> jar xvf jenkins.war | |
| ==> Caveats | |
| Note: When using launchctl the port will be 8080. | |
| To have launchd start jenkins at login: | |
| ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents | |
| Then to load jenkins now: | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist | |
| Or, if you don't want/need launchctl, you can just run: | |
| jenkins | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/jenkins/1.653: 6 files, 62.5M, built in 43 seconds | |
| ==> Upgrading node | |
| ==> Downloading https://homebrew.bintray.com/bottles/node-5.9.1.el_capitan.bottl | |
| ######################################################################## 100.0% | |
| ==> Pouring node-5.9.1.el_capitan.bottle.tar.gz | |
| Error: The `brew link` step did not complete successfully | |
| The formula built, but is not symlinked into /usr/local | |
| Could not symlink bin/node | |
| Target /usr/local/bin/node | |
| already exists. You may want to remove it: | |
| rm '/usr/local/bin/node' | |
| To force the link and overwrite all conflicting files: | |
| brew link --overwrite node | |
| To list all files that would be deleted: | |
| brew link --overwrite --dry-run node | |
| Possible conflicting files are: | |
| /usr/local/bin/node | |
| /usr/local/include/node/android-ifaddrs.h | |
| /usr/local/include/node/ares.h | |
| /usr/local/include/node/ares_version.h | |
| /usr/local/include/node/common.gypi | |
| /usr/local/include/node/config.gypi | |
| /usr/local/include/node/libplatform/libplatform.h | |
| /usr/local/include/node/nameser.h | |
| /usr/local/include/node/node.h | |
| /usr/local/include/node/node_buffer.h | |
| /usr/local/include/node/node_internals.h | |
| /usr/local/include/node/node_object_wrap.h | |
| /usr/local/include/node/node_version.h | |
| /usr/local/include/node/openssl/aes.h | |
| /usr/local/include/node/openssl/archs/BSD-x86/opensslconf.h | |
| /usr/local/include/node/openssl/archs/BSD-x86_64/opensslconf.h | |
| /usr/local/include/node/openssl/archs/VC-WIN32/opensslconf.h | |
| /usr/local/include/node/openssl/archs/VC-WIN64A/opensslconf.h | |
| /usr/local/include/node/openssl/archs/aix-gcc/opensslconf.h | |
| /usr/local/include/node/openssl/archs/aix64-gcc/opensslconf.h | |
| /usr/local/include/node/openssl/archs/darwin-i386-cc/opensslconf.h | |
| /usr/local/include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h | |
| /usr/local/include/node/openssl/archs/linux-aarch64/opensslconf.h | |
| /usr/local/include/node/openssl/archs/linux-armv4/opensslconf.h | |
| /usr/local/include/node/openssl/archs/linux-elf/opensslconf.h | |
| /usr/local/include/node/openssl/archs/linux-ppc/opensslconf.h | |
| /usr/local/include/node/openssl/archs/linux-ppc64/opensslconf.h | |
| /usr/local/include/node/openssl/archs/linux-x32/opensslconf.h | |
| /usr/local/include/node/openssl/archs/linux-x86_64/opensslconf.h | |
| /usr/local/include/node/openssl/archs/solaris-x86-gcc/opensslconf.h | |
| /usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h | |
| /usr/local/include/node/openssl/asn1.h | |
| /usr/local/include/node/openssl/asn1_mac.h | |
| /usr/local/include/node/openssl/asn1t.h | |
| /usr/local/include/node/openssl/bio.h | |
| /usr/local/include/node/openssl/blowfish.h | |
| /usr/local/include/node/openssl/bn.h | |
| /usr/local/include/node/openssl/buffer.h | |
| /usr/local/include/node/openssl/camellia.h | |
| /usr/local/include/node/openssl/cast.h | |
| /usr/local/include/node/openssl/cmac.h | |
| /usr/local/include/node/openssl/cms.h | |
| /usr/local/include/node/openssl/comp.h | |
| /usr/local/include/node/openssl/conf.h | |
| /usr/local/include/node/openssl/conf_api.h | |
| /usr/local/include/node/openssl/crypto.h | |
| /usr/local/include/node/openssl/des.h | |
| /usr/local/include/node/openssl/des_old.h | |
| /usr/local/include/node/openssl/dh.h | |
| /usr/local/include/node/openssl/dsa.h | |
| /usr/local/include/node/openssl/dso.h | |
| /usr/local/include/node/openssl/dtls1.h | |
| /usr/local/include/node/openssl/e_os2.h | |
| /usr/local/include/node/openssl/ebcdic.h | |
| /usr/local/include/node/openssl/ec.h | |
| /usr/local/include/node/openssl/ecdh.h | |
| /usr/local/include/node/openssl/ecdsa.h | |
| /usr/local/include/node/openssl/engine.h | |
| /usr/local/include/node/openssl/err.h | |
| /usr/local/include/node/openssl/evp.h | |
| /usr/local/include/node/openssl/hmac.h | |
| /usr/local/include/node/openssl/idea.h | |
| /usr/local/include/node/openssl/krb5_asn.h | |
| /usr/local/include/node/openssl/kssl.h | |
| /usr/local/include/node/openssl/lhash.h | |
| /usr/local/include/node/openssl/md4.h | |
| /usr/local/include/node/openssl/md5.h | |
| /usr/local/include/node/openssl/mdc2.h | |
| /usr/local/include/node/openssl/modes.h | |
| /usr/local/include/node/openssl/obj_mac.h | |
| /usr/local/include/node/openssl/objects.h | |
| /usr/local/include/node/openssl/ocsp.h | |
| /usr/local/include/node/openssl/opensslconf.h | |
| /usr/local/include/node/openssl/opensslv.h | |
| /usr/local/include/node/openssl/ossl_typ.h | |
| /usr/local/include/node/openssl/pem.h | |
| /usr/local/include/node/openssl/pem2.h | |
| /usr/local/include/node/openssl/pkcs12.h | |
| /usr/local/include/node/openssl/pkcs7.h | |
| /usr/local/include/node/openssl/pqueue.h | |
| /usr/local/include/node/openssl/rand.h | |
| /usr/local/include/node/openssl/rc2.h | |
| /usr/local/include/node/openssl/rc4.h | |
| /usr/local/include/node/openssl/ripemd.h | |
| /usr/local/include/node/openssl/rsa.h | |
| /usr/local/include/node/openssl/safestack.h | |
| /usr/local/include/node/openssl/seed.h | |
| /usr/local/include/node/openssl/sha.h | |
| /usr/local/include/node/openssl/srp.h | |
| /usr/local/include/node/openssl/srtp.h | |
| /usr/local/include/node/openssl/ssl.h | |
| /usr/local/include/node/openssl/ssl2.h | |
| /usr/local/include/node/openssl/ssl23.h | |
| /usr/local/include/node/openssl/ssl3.h | |
| /usr/local/include/node/openssl/stack.h | |
| /usr/local/include/node/openssl/symhacks.h | |
| /usr/local/include/node/openssl/tls1.h | |
| /usr/local/include/node/openssl/ts.h | |
| /usr/local/include/node/openssl/txt_db.h | |
| /usr/local/include/node/openssl/ui.h | |
| /usr/local/include/node/openssl/ui_compat.h | |
| /usr/local/include/node/openssl/whrlpool.h | |
| /usr/local/include/node/openssl/x509.h | |
| /usr/local/include/node/openssl/x509_vfy.h | |
| /usr/local/include/node/openssl/x509v3.h | |
| /usr/local/include/node/pthread-fixes.h | |
| /usr/local/include/node/stdint-msvc2008.h | |
| /usr/local/include/node/tree.h | |
| /usr/local/include/node/uv-aix.h | |
| /usr/local/include/node/uv-bsd.h | |
| /usr/local/include/node/uv-darwin.h | |
| /usr/local/include/node/uv-errno.h | |
| /usr/local/include/node/uv-linux.h | |
| /usr/local/include/node/uv-sunos.h | |
| /usr/local/include/node/uv-threadpool.h | |
| /usr/local/include/node/uv-unix.h | |
| /usr/local/include/node/uv-version.h | |
| /usr/local/include/node/uv-win.h | |
| /usr/local/include/node/uv.h | |
| /usr/local/include/node/v8-debug.h | |
| /usr/local/include/node/v8-platform.h | |
| /usr/local/include/node/v8-profiler.h | |
| /usr/local/include/node/v8-testing.h | |
| /usr/local/include/node/v8-util.h | |
| /usr/local/include/node/v8-version.h | |
| /usr/local/include/node/v8.h | |
| /usr/local/include/node/v8config.h | |
| /usr/local/include/node/zconf.h | |
| /usr/local/include/node/zlib.h | |
| /usr/local/share/doc/node/gdbinit | |
| /usr/local/share/man/man1/node.1 | |
| /usr/local/share/systemtap/tapset/node.stp | |
| /usr/local/lib/dtrace/node.d | |
| Warning: The post-install step did not complete successfully | |
| You can try again using `brew postinstall node` | |
| ==> Caveats | |
| Please note by default only English locale support is provided. If you need | |
| full locale support you should: | |
| `brew reinstall node --with-full-icu` | |
| Bash completion has been installed to: | |
| /usr/local/etc/bash_completion.d | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/node/5.9.1: 3,861 files, 35.6M | |
| ==> Upgrading openssl | |
| ==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2g.el_capitan.b | |
| ######################################################################## 100.0% | |
| ==> Pouring openssl-1.0.2g.el_capitan.bottle.tar.gz | |
| ==> Caveats | |
| A CA file has been bootstrapped using certificates from the system | |
| keychain. To add additional certificates, place .pem files in | |
| /usr/local/etc/openssl/certs | |
| and run | |
| /usr/local/opt/openssl/bin/c_rehash | |
| This formula is keg-only, which means it was not symlinked into /usr/local. | |
| Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries | |
| Generally there are no consequences of this for you. If you build your | |
| own software and it requires this formula, you'll need to add to your | |
| build variables: | |
| LDFLAGS: -L/usr/local/opt/openssl/lib | |
| CPPFLAGS: -I/usr/local/opt/openssl/include | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/openssl/1.0.2g: 466 files, 11.9M | |
| Deveshs-MacBook-Pro:~ devesh$ brew install flow | |
| Warning: flow-0.22.1 already installed | |
| Deveshs-MacBook-Pro:~ devesh$ npm install -g react-native-cli | |
| npm ERR! Darwin 15.0.0 | |
| npm ERR! argv "/Users/devesh/.nvm/versions/node/v5.9.1/bin/node" "/Users/devesh/.nvm/versions/node/v5.9.1/bin/npm" "install" "-g" "react-native-cli" | |
| npm ERR! node v5.9.1 | |
| npm ERR! npm v3.7.3 | |
| npm ERR! code ENOTFOUND | |
| npm ERR! errno ENOTFOUND | |
| npm ERR! syscall getaddrinfo | |
| npm ERR! network getaddrinfo ENOTFOUND registry.npm.org registry.npm.org:443 | |
| npm ERR! network This is most likely not a problem with npm itself | |
| npm ERR! network and is related to network connectivity. | |
| npm ERR! network In most cases you are behind a proxy or have bad network settings. | |
| npm ERR! network | |
| npm ERR! network If you are behind a proxy, please make sure that the | |
| npm ERR! network 'proxy' config is set properly. See: 'npm help config' | |
| npm ERR! Please include the following file with any support request: | |
| npm ERR! /Users/devesh/npm-debug.log | |
| Deveshs-MacBook-Pro:~ devesh$ npm install -g react-native-cli | |
| npm ERR! Darwin 15.0.0 | |
| npm ERR! argv "/Users/devesh/.nvm/versions/node/v5.9.1/bin/node" "/Users/devesh/.nvm/versions/node/v5.9.1/bin/npm" "install" "-g" "react-native-cli" | |
| npm ERR! node v5.9.1 | |
| npm ERR! npm v3.7.3 | |
| npm ERR! code ENOTFOUND | |
| npm ERR! errno ENOTFOUND | |
| npm ERR! syscall getaddrinfo | |
| npm ERR! network getaddrinfo ENOTFOUND registry.npm.org registry.npm.org:443 | |
| npm ERR! network This is most likely not a problem with npm itself | |
| npm ERR! network and is related to network connectivity. | |
| npm ERR! network In most cases you are behind a proxy or have bad network settings. | |
| npm ERR! network | |
| npm ERR! network If you are behind a proxy, please make sure that the | |
| npm ERR! network 'proxy' config is set properly. See: 'npm help config' | |
| npm ERR! Please include the following file with any support request: | |
| npm ERR! /Users/devesh/npm-debug.log | |
| Deveshs-MacBook-Pro:~ devesh$ sudo npm install -g react-native-cli | |
| Password: | |
| npm ERR! Darwin 15.0.0 | |
| npm ERR! argv "/Users/devesh/.nvm/versions/node/v5.9.1/bin/node" "/Users/devesh/.nvm/versions/node/v5.9.1/bin/npm" "install" "-g" "react-native-cli" | |
| npm ERR! node v5.9.1 | |
| npm ERR! npm v3.7.3 | |
| npm ERR! code ENOTFOUND | |
| npm ERR! errno ENOTFOUND | |
| npm ERR! syscall getaddrinfo | |
| npm ERR! network getaddrinfo ENOTFOUND registry.npm.org registry.npm.org:443 | |
| npm ERR! network This is most likely not a problem with npm itself | |
| npm ERR! network and is related to network connectivity. | |
| npm ERR! network In most cases you are behind a proxy or have bad network settings. | |
| npm ERR! network | |
| npm ERR! network If you are behind a proxy, please make sure that the | |
| npm ERR! network 'proxy' config is set properly. See: 'npm help config' | |
| npm ERR! Please include the following file with any support request: | |
| npm ERR! /Users/devesh/npm-debug.log | |
| Deveshs-MacBook-Pro:~ devesh$ sudo npm install -g react-native-cli | |
| Password: | |
| npm ERR! Darwin 15.0.0 | |
| npm ERR! argv "/Users/devesh/.nvm/versions/node/v5.9.1/bin/node" "/Users/devesh/.nvm/versions/node/v5.9.1/bin/npm" "install" "-g" "react-native-cli" | |
| npm ERR! node v5.9.1 | |
| npm ERR! npm v3.7.3 | |
| npm ERR! code ENOTFOUND | |
| npm ERR! errno ENOTFOUND | |
| npm ERR! syscall getaddrinfo | |
| npm ERR! network getaddrinfo ENOTFOUND registry.npm.org registry.npm.org:443 | |
| npm ERR! network This is most likely not a problem with npm itself | |
| npm ERR! network and is related to network connectivity. | |
| npm ERR! network In most cases you are behind a proxy or have bad network settings. | |
| npm ERR! network | |
| npm ERR! network If you are behind a proxy, please make sure that the | |
| npm ERR! network 'proxy' config is set properly. See: 'npm help config' | |
| npm ERR! Please include the following file with any support request: | |
| npm ERR! /Users/devesh/npm-debug.log | |
| Deveshs-MacBook-Pro:~ devesh$ npm config get proxy | |
| null | |
| Deveshs-MacBook-Pro:~ devesh$ npm config get https-proxy | |
| null | |
| Deveshs-MacBook-Pro:~ devesh$ sudo npm install -g react-native-cli | |
| npm ERR! Darwin 15.0.0 | |
| npm ERR! argv "/Users/devesh/.nvm/versions/node/v5.9.1/bin/node" "/Users/devesh/.nvm/versions/node/v5.9.1/bin/npm" "install" "-g" "react-native-cli" | |
| npm ERR! node v5.9.1 | |
| npm ERR! npm v3.7.3 | |
| npm ERR! code ENOTFOUND | |
| npm ERR! errno ENOTFOUND | |
| npm ERR! syscall getaddrinfo | |
| npm ERR! network getaddrinfo ENOTFOUND registry.npm.org registry.npm.org:443 | |
| npm ERR! network This is most likely not a problem with npm itself | |
| npm ERR! network and is related to network connectivity. | |
| npm ERR! network In most cases you are behind a proxy or have bad network settings. | |
| npm ERR! network | |
| npm ERR! network If you are behind a proxy, please make sure that the | |
| npm ERR! network 'proxy' config is set properly. See: 'npm help config' | |
| npm ERR! Please include the following file with any support request: | |
| npm ERR! /Users/devesh/npm-debug.log | |
| Deveshs-MacBook-Pro:~ devesh$ vi /Users/devesh/npm-debug.log | |
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ '/Users/devesh/.nvm/versions/node/v5.9.1/bin/node', | |
| 1 verbose cli '/Users/devesh/.nvm/versions/node/v5.9.1/bin/npm', | |
| 1 verbose cli 'install', | |
| 1 verbose cli '-g', | |
| 1 verbose cli 'react-native-cli' ] | |
| 2 info using [email protected] | |
| 3 info using [email protected] | |
| 4 silly loadCurrentTree Starting | |
| 5 silly install loadCurrentTree | |
| 6 silly install readGlobalPackageData | |
| 7 silly fetchPackageMetaData react-native-cli | |
| 8 silly fetchNamedPackageData react-native-cli | |
| 9 silly mapToRegistry name react-native-cli | |
| 10 silly mapToRegistry using default registry | |
| 11 silly mapToRegistry registry https://registry.npm.org/ | |
| 12 silly mapToRegistry uri https://registry.npm.org/react-native-cli | |
| 13 verbose request uri https://registry.npm.org/react-native-cli | |
| 14 verbose request no auth needed | |
| 15 info attempt registry request try #1 at 3:17:06 PM | |
| 16 verbose request id 5b55b59933f46349 | |
| 17 http request GET https://registry.npm.org/react-native-cli | |
| @ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment