Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"EISDIR: illegal operation on a directory, read" error when using yarn install #4336

Closed
the-jackalope opened this issue Sep 7, 2017 · 48 comments

Comments

@the-jackalope
Copy link

When running yarn install command, I get the error:
An unexpected error occurred: "EISDIR: illegal operation on a directory, read".

yarn-error.log:

Arguments: 
  /usr/local/Cellar/node/8.4.0/bin/node /usr/local/Cellar/yarn/1.0.1/libexec/bin/yarn.js

PATH: 
  /Users/JohnCook/.rbenv/shims:/Users/JohnCook/.cargo/bin:/Users/JohnCook/Developer/demeter:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin

Yarn version: 
  1.0.1

Node version: 
  8.4.0

Platform: 
  darwin x64

npm manifest: 
  {
    "name": "demeter",
    "version": "3.0.0-beta",
    "description": "Kubernetes project-level cluster management tool for AppOps and full-stack engineers",
    "repository": "https://github.com/neighborly/demeter",
    "author": "Neighborly <dev@neighborly.com>",
    "license": "UNLICENSED",
    "scripts": {
      "test": "jasmine-ts \"spec/**/*.spec.ts\"",
      "prettier": "./node_modules/.bin/prettier  --write --single-quote src/**/*.ts",
      "doc": "./node_modules/.bin/typedoc --name Demeter --listEmittedFiles --preserveConstEnums --out docs/typedoc"
    },
    "dependencies": {
      "axios": "^0.16.2",
      "colors": "^1.1.2",
      "commander": "^2.11.0",
      "dockerode": "^2.5.0",
      "lodash": "^4.17.4",
      "winston": "^2.3.1"
    },
    "devDependencies": {
      "@types/colors": "^1.1.3",
      "@types/commander": "^2.9.1",
      "@types/dockerode": "^2.4.3",
      "@types/glob": "^5.0.30",
      "@types/jasmine": "^2.5.53",
      "@types/lodash": "^4.14.70",
      "@types/node": "^8.0.25",
      "@types/winston": "^2.3.3",
      "jasmine-spec-reporter": "^4.1.1",
      "jasmine-ts": "^0.2.0",
      "prettier": "^1.5.3",
      "tslint": "^5.5.0",
      "tslint-config-prettier": "^1.3.0",
      "typedoc": "^0.8.0",
      "typescript": "^2.4.1"
    }
  }

yarn manifest: 
  No manifest

Lockfile: 
  # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
  # yarn lockfile v1
  
  
  "@types/colors@^1.1.3":
    version "1.1.3"
    resolved "https://registry.yarnpkg.com/@types/colors/-/colors-1.1.3.tgz#5413b0a7a1b16dd18be0e3fd57d2feecc81cc776"
  
  "@types/commander@^2.9.1":
    version "2.9.1"
    resolved "https://registry.yarnpkg.com/@types/commander/-/commander-2.9.1.tgz#d4e464425baf4685bd49dd233be11de9c00c0784"
    dependencies:
      "@types/node" "*"
  
  "@types/dockerode@^2.4.3":
    version "2.4.3"
    resolved "https://registry.yarnpkg.com/@types/dockerode/-/dockerode-2.4.3.tgz#45861557aa1161cd9f46352b15b954ab2f84defb"
    dependencies:
      "@types/node" "*"
  
  "@types/fs-extra@^4.0.0":
    version "4.0.0"
    resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-4.0.0.tgz#1dd742ad5c9bce308f7a52d02ebc01421bc9102f"
    dependencies:
      "@types/node" "*"
  
  "@types/glob@*":
    version "5.0.32"
    resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.32.tgz#aec5cfe987c72f099fdb1184452986aa506d5e8f"
    dependencies:
      "@types/minimatch" "*"
      "@types/node" "*"
  
  "@types/glob@^5.0.30":
    version "5.0.30"
    resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.30.tgz#1026409c5625a8689074602808d082b2867b8a51"
    dependencies:
      "@types/minimatch" "*"
      "@types/node" "*"
  
  "@types/handlebars@^4.0.31":
    version "4.0.36"
    resolved "https://registry.yarnpkg.com/@types/handlebars/-/handlebars-4.0.36.tgz#ff57c77fa1ab6713bb446534ddc4d979707a3a79"
  
  "@types/highlight.js@^9.1.8":
    version "9.1.10"
    resolved "https://registry.yarnpkg.com/@types/highlight.js/-/highlight.js-9.1.10.tgz#b621f809cd9573b80992b90cffc5788208e3069c"
  
  "@types/jasmine@^2.5.53":
    version "2.5.53"
    resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-2.5.53.tgz#4e0cefad09df5ec48c8dd40433512f84b1568d61"
  
  "@types/lodash@^4.14.37":
    version "4.14.74"
    resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.74.tgz#ac3bd8db988e7f7038e5d22bd76a7ba13f876168"
  
  "@types/lodash@^4.14.70":
    version "4.14.70"
    resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.70.tgz#37bda4acfb3bb79143009cc9d00abd559f7dca30"
  
  "@types/marked@0.0.28":
    version "0.0.28"
    resolved "https://registry.yarnpkg.com/@types/marked/-/marked-0.0.28.tgz#44ba754e9fa51432583e8eb30a7c4dd249b52faa"
  
  "@types/minimatch@*", "@types/minimatch@^2.0.29":
    version "2.0.29"
    resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-2.0.29.tgz#5002e14f75e2d71e564281df0431c8c1b4a2a36a"
  
  "@types/node@*":
    version "8.0.14"
    resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.14.tgz#4a19dc6bb61d16c01cbadc7b30ac23518fff176b"
  
  "@types/node@^8.0.25":
    version "8.0.25"
    resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.25.tgz#66ecaf4df93f5281b48427ee96fbcdfc4f0cdce1"
  
  "@types/shelljs@^0.7.0":
    version "0.7.4"
    resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.4.tgz#137b5f31306eaff4de120ffe5b9d74b297809cfc"
    dependencies:
      "@types/glob" "*"
      "@types/node" "*"
  
  "@types/winston@^2.3.3":
    version "2.3.3"
    resolved "https://registry.yarnpkg.com/@types/winston/-/winston-2.3.3.tgz#f3eeea27c02f08aaeb60e535804b235f8378eff4"
    dependencies:
      "@types/node" "*"
  
  JSONStream@0.10.0:
    version "0.10.0"
    resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-0.10.0.tgz#74349d0d89522b71f30f0a03ff9bd20ca6f12ac0"
    dependencies:
      jsonparse "0.0.5"
      through ">=2.2.7 <3"
  
  align-text@^0.1.1, align-text@^0.1.3:
    version "0.1.4"
    resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117"
    dependencies:
      kind-of "^3.0.2"
      longest "^1.0.1"
      repeat-string "^1.5.2"
  
  amdefine@>=0.0.4:
    version "1.0.1"
    resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5"
  
  ansi-regex@^2.0.0:
    version "2.1.1"
    resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
  
  ansi-regex@^3.0.0:
    version "3.0.0"
    resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
  
  ansi-styles@^2.2.1:
    version "2.2.1"
    resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
  
  ansi-styles@^3.1.0:
    version "3.1.0"
    resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.1.0.tgz#09c202d5c917ec23188caa5c9cb9179cd9547750"
    dependencies:
      color-convert "^1.0.0"
  
  arrify@^1.0.0:
    version "1.0.1"
    resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
  
  async@^1.4.0:
    version "1.5.2"
    resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
  
  async@~1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/async/-/async-1.0.0.tgz#f8fc04ca3a13784ade9e1641af98578cfbd647a9"
  
  axios@^0.16.2:
    version "0.16.2"
    resolved "https://registry.yarnpkg.com/axios/-/axios-0.16.2.tgz#ba4f92f17167dfbab40983785454b9ac149c3c6d"
    dependencies:
      follow-redirects "^1.2.3"
      is-buffer "^1.1.5"
  
  babel-code-frame@^6.22.0:
    version "6.22.0"
    resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4"
    dependencies:
      chalk "^1.1.0"
      esutils "^2.0.2"
      js-tokens "^3.0.0"
  
  balanced-match@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
  
  bl@^1.0.0:
    version "1.2.1"
    resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.1.tgz#cac328f7bee45730d404b692203fcb590e172d5e"
    dependencies:
      readable-stream "^2.0.5"
  
  brace-expansion@^1.1.7:
    version "1.1.8"
    resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
    dependencies:
      balanced-match "^1.0.0"
      concat-map "0.0.1"
  
  builtin-modules@^1.0.0:
    version "1.1.1"
    resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
  
  camelcase@^1.0.2:
    version "1.2.1"
    resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39"
  
  camelcase@^4.1.0:
    version "4.1.0"
    resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
  
  center-align@^0.1.1:
    version "0.1.3"
    resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad"
    dependencies:
      align-text "^0.1.3"
      lazy-cache "^1.0.3"
  
  chalk@^1.1.0:
    version "1.1.3"
    resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
    dependencies:
      ansi-styles "^2.2.1"
      escape-string-regexp "^1.0.2"
      has-ansi "^2.0.0"
      strip-ansi "^3.0.0"
      supports-color "^2.0.0"
  
  chalk@^2.0.0:
    version "2.0.1"
    resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.0.1.tgz#dbec49436d2ae15f536114e76d14656cdbc0f44d"
    dependencies:
      ansi-styles "^3.1.0"
      escape-string-regexp "^1.0.5"
      supports-color "^4.0.0"
  
  cliui@^2.1.0:
    version "2.1.0"
    resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1"
    dependencies:
      center-align "^0.1.1"
      right-align "^0.1.1"
      wordwrap "0.0.2"
  
  cliui@^3.2.0:
    version "3.2.0"
    resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
    dependencies:
      string-width "^1.0.1"
      strip-ansi "^3.0.1"
      wrap-ansi "^2.0.0"
  
  code-point-at@^1.0.0:
    version "1.1.0"
    resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
  
  color-convert@^1.0.0:
    version "1.9.0"
    resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a"
    dependencies:
      color-name "^1.1.1"
  
  color-name@^1.1.1:
    version "1.1.2"
    resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d"
  
  colors@1.0.x:
    version "1.0.3"
    resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b"
  
  colors@1.1.2, colors@^1.1.2:
    version "1.1.2"
    resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
  
  commander@^2.11.0, commander@^2.9.0:
    version "2.11.0"
    resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
  
  concat-map@0.0.1:
    version "0.0.1"
    resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
  
  concat-stream@~1.5.1:
    version "1.5.2"
    resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.5.2.tgz#708978624d856af41a5a741defdd261da752c266"
    dependencies:
      inherits "~2.0.1"
      readable-stream "~2.0.0"
      typedarray "~0.0.5"
  
  core-util-is@~1.0.0:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
  
  cross-spawn@^4.0.0:
    version "4.0.2"
    resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
    dependencies:
      lru-cache "^4.0.1"
      which "^1.2.9"
  
  cycle@1.0.x:
    version "1.0.3"
    resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2"
  
  debug@^2.4.5, debug@^2.6.0:
    version "2.6.8"
    resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
    dependencies:
      ms "2.0.0"
  
  decamelize@^1.0.0, decamelize@^1.1.1:
    version "1.2.0"
    resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
  
  diff@^3.1.0, diff@^3.2.0:
    version "3.3.0"
    resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.0.tgz#056695150d7aa93237ca7e378ac3b1682b7963b9"
  
  docker-modem@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/docker-modem/-/docker-modem-1.0.0.tgz#cd7f43e209d7a4cff28a2628bae6381414bd8b8b"
    dependencies:
      JSONStream "0.10.0"
      debug "^2.6.0"
      readable-stream "~1.0.26-4"
      split-ca "^1.0.0"
  
  dockerode@^2.5.0:
    version "2.5.0"
    resolved "https://registry.yarnpkg.com/dockerode/-/dockerode-2.5.0.tgz#3fb1ff0e14b6901d92abff75a8a5440569f0538b"
    dependencies:
      concat-stream "~1.5.1"
      docker-modem "^1.0.0"
      tar-fs "~1.12.0"
  
  end-of-stream@^1.0.0, end-of-stream@^1.1.0:
    version "1.4.0"
    resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.0.tgz#7a90d833efda6cfa6eac0f4949dbb0fad3a63206"
    dependencies:
      once "^1.4.0"
  
  error-ex@^1.2.0:
    version "1.3.1"
    resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc"
    dependencies:
      is-arrayish "^0.2.1"
  
  escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
    version "1.0.5"
    resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
  
  esutils@^2.0.2:
    version "2.0.2"
    resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
  
  execa@^0.5.0:
    version "0.5.1"
    resolved "https://registry.yarnpkg.com/execa/-/execa-0.5.1.tgz#de3fb85cb8d6e91c85bcbceb164581785cb57b36"
    dependencies:
      cross-spawn "^4.0.0"
      get-stream "^2.2.0"
      is-stream "^1.1.0"
      npm-run-path "^2.0.0"
      p-finally "^1.0.0"
      signal-exit "^3.0.0"
      strip-eof "^1.0.0"
  
  exit@^0.1.2:
    version "0.1.2"
    resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
  
  eyes@0.1.x:
    version "0.1.8"
    resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0"
  
  find-up@^2.0.0:
    version "2.1.0"
    resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7"
    dependencies:
      locate-path "^2.0.0"
  
  follow-redirects@^1.2.3:
    version "1.2.4"
    resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.2.4.tgz#355e8f4d16876b43f577b0d5ce2668b9723214ea"
    dependencies:
      debug "^2.4.5"
  
  fs-extra@^4.0.0:
    version "4.0.1"
    resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.1.tgz#7fc0c6c8957f983f57f306a24e5b9ddd8d0dd880"
    dependencies:
      graceful-fs "^4.1.2"
      jsonfile "^3.0.0"
      universalify "^0.1.0"
  
  fs.realpath@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
  
  get-caller-file@^1.0.1:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5"
  
  get-stream@^2.2.0:
    version "2.3.1"
    resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-2.3.1.tgz#5f38f93f346009666ee0150a054167f91bdd95de"
    dependencies:
      object-assign "^4.0.1"
      pinkie-promise "^2.0.0"
  
  glob@^7.0.0, glob@^7.0.6, glob@^7.1.1:
    version "7.1.2"
    resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
    dependencies:
      fs.realpath "^1.0.0"
      inflight "^1.0.4"
      inherits "2"
      minimatch "^3.0.4"
      once "^1.3.0"
      path-is-absolute "^1.0.0"
  
  graceful-fs@^4.1.2, graceful-fs@^4.1.6:
    version "4.1.11"
    resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
  
  handlebars@^4.0.6:
    version "4.0.10"
    resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f"
    dependencies:
      async "^1.4.0"
      optimist "^0.6.1"
      source-map "^0.4.4"
    optionalDependencies:
      uglify-js "^2.6"
  
  has-ansi@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
    dependencies:
      ansi-regex "^2.0.0"
  
  has-flag@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
  
  highlight.js@^9.0.0:
    version "9.12.0"
    resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e"
  
  hosted-git-info@^2.1.4:
    version "2.5.0"
    resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c"
  
  inflight@^1.0.4:
    version "1.0.6"
    resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
    dependencies:
      once "^1.3.0"
      wrappy "1"
  
  inherits@2, inherits@~2.0.1:
    version "2.0.3"
    resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
  
  interpret@^1.0.0:
    version "1.0.3"
    resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
  
  invert-kv@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
  
  is-arrayish@^0.2.1:
    version "0.2.1"
    resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
  
  is-buffer@^1.1.5:
    version "1.1.5"
    resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc"
  
  is-builtin-module@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe"
    dependencies:
      builtin-modules "^1.0.0"
  
  is-fullwidth-code-point@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb"
    dependencies:
      number-is-nan "^1.0.0"
  
  is-fullwidth-code-point@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
  
  is-stream@^1.1.0:
    version "1.1.0"
    resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
  
  isarray@0.0.1:
    version "0.0.1"
    resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
  
  isarray@~1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
  
  isexe@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
  
  isstream@0.1.x:
    version "0.1.2"
    resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
  
  jasmine-core@~2.6.0:
    version "2.6.4"
    resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.6.4.tgz#dec926cd0a9fa287fb6db5c755fa487e74cecac5"
  
  jasmine-spec-reporter@^4.1.1:
    version "4.1.1"
    resolved "https://registry.yarnpkg.com/jasmine-spec-reporter/-/jasmine-spec-reporter-4.1.1.tgz#5a6d58ab5d61bea7309fbc279239511756b1b588"
    dependencies:
      colors "1.1.2"
  
  jasmine-ts@^0.2.0:
    version "0.2.0"
    resolved "https://registry.yarnpkg.com/jasmine-ts/-/jasmine-ts-0.2.0.tgz#b7a4d40e5ea2c829d10b1cbb45bea743e9475c6d"
    dependencies:
      jasmine "^2.6.0"
      ts-node "^3.2.0"
      typescript "^2.4.1"
      yargs "^8.0.2"
  
  jasmine@^2.6.0:
    version "2.6.0"
    resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-2.6.0.tgz#6b22e70883e8e589d456346153b4d206ddbe217f"
    dependencies:
      exit "^0.1.2"
      glob "^7.0.6"
      jasmine-core "~2.6.0"
  
  js-tokens@^3.0.0:
    version "3.0.2"
    resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
  
  jsonfile@^3.0.0:
    version "3.0.1"
    resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66"
    optionalDependencies:
      graceful-fs "^4.1.6"
  
  jsonparse@0.0.5:
    version "0.0.5"
    resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-0.0.5.tgz#330542ad3f0a654665b778f3eb2d9a9fa507ac64"
  
  kind-of@^3.0.2:
    version "3.2.2"
    resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
    dependencies:
      is-buffer "^1.1.5"
  
  lazy-cache@^1.0.3:
    version "1.0.4"
    resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e"
  
  lcid@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
    dependencies:
      invert-kv "^1.0.0"
  
  load-json-file@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
    dependencies:
      graceful-fs "^4.1.2"
      parse-json "^2.2.0"
      pify "^2.0.0"
      strip-bom "^3.0.0"
  
  locate-path@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
    dependencies:
      p-locate "^2.0.0"
      path-exists "^3.0.0"
  
  lodash@^4.13.1, lodash@^4.17.4:
    version "4.17.4"
    resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
  
  longest@^1.0.1:
    version "1.0.1"
    resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
  
  lru-cache@^4.0.1:
    version "4.1.1"
    resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
    dependencies:
      pseudomap "^1.0.2"
      yallist "^2.1.2"
  
  make-error@^1.1.1:
    version "1.3.0"
    resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.0.tgz#52ad3a339ccf10ce62b4040b708fe707244b8b96"
  
  marked@^0.3.5:
    version "0.3.6"
    resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.6.tgz#b2c6c618fccece4ef86c4fc6cb8a7cbf5aeda8d7"
  
  mem@^1.1.0:
    version "1.1.0"
    resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76"
    dependencies:
      mimic-fn "^1.0.0"
  
  mimic-fn@^1.0.0:
    version "1.1.0"
    resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
  
  minimatch@^3.0.0, minimatch@^3.0.4:
    version "3.0.4"
    resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
    dependencies:
      brace-expansion "^1.1.7"
  
  minimist@0.0.8:
    version "0.0.8"
    resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
  
  minimist@^1.2.0:
    version "1.2.0"
    resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
  
  minimist@~0.0.1:
    version "0.0.10"
    resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
  
  mkdirp@^0.5.0, mkdirp@^0.5.1:
    version "0.5.1"
    resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
    dependencies:
      minimist "0.0.8"
  
  ms@2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
  
  normalize-package-data@^2.3.2:
    version "2.4.0"
    resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f"
    dependencies:
      hosted-git-info "^2.1.4"
      is-builtin-module "^1.0.0"
      semver "2 || 3 || 4 || 5"
      validate-npm-package-license "^3.0.1"
  
  npm-run-path@^2.0.0:
    version "2.0.2"
    resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
    dependencies:
      path-key "^2.0.0"
  
  number-is-nan@^1.0.0:
    version "1.0.1"
    resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
  
  object-assign@^4.0.1:
    version "4.1.1"
    resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
  
  once@^1.3.0, once@^1.3.1, once@^1.4.0:
    version "1.4.0"
    resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
    dependencies:
      wrappy "1"
  
  optimist@^0.6.1:
    version "0.6.1"
    resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686"
    dependencies:
      minimist "~0.0.1"
      wordwrap "~0.0.2"
  
  os-locale@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.0.0.tgz#15918ded510522b81ee7ae5a309d54f639fc39a4"
    dependencies:
      execa "^0.5.0"
      lcid "^1.0.0"
      mem "^1.1.0"
  
  p-finally@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
  
  p-limit@^1.1.0:
    version "1.1.0"
    resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc"
  
  p-locate@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
    dependencies:
      p-limit "^1.1.0"
  
  parse-json@^2.2.0:
    version "2.2.0"
    resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9"
    dependencies:
      error-ex "^1.2.0"
  
  path-exists@^3.0.0:
    version "3.0.0"
    resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
  
  path-is-absolute@^1.0.0:
    version "1.0.1"
    resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
  
  path-key@^2.0.0:
    version "2.0.1"
    resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
  
  path-parse@^1.0.5:
    version "1.0.5"
    resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
  
  path-type@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73"
    dependencies:
      pify "^2.0.0"
  
  pify@^2.0.0:
    version "2.3.0"
    resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
  
  pinkie-promise@^2.0.0:
    version "2.0.1"
    resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
    dependencies:
      pinkie "^2.0.0"
  
  pinkie@^2.0.0:
    version "2.0.4"
    resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
  
  prettier@^1.5.3:
    version "1.5.3"
    resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.5.3.tgz#59dadc683345ec6b88f88b94ed4ae7e1da394bfe"
  
  process-nextick-args@~1.0.6:
    version "1.0.7"
    resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
  
  progress@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f"
  
  pseudomap@^1.0.2:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
  
  pump@^1.0.0:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.2.tgz#3b3ee6512f94f0e575538c17995f9f16990a5d51"
    dependencies:
      end-of-stream "^1.1.0"
      once "^1.3.1"
  
  read-pkg-up@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
    dependencies:
      find-up "^2.0.0"
      read-pkg "^2.0.0"
  
  read-pkg@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8"
    dependencies:
      load-json-file "^2.0.0"
      normalize-package-data "^2.3.2"
      path-type "^2.0.0"
  
  readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@~2.0.0:
    version "2.0.6"
    resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e"
    dependencies:
      core-util-is "~1.0.0"
      inherits "~2.0.1"
      isarray "~1.0.0"
      process-nextick-args "~1.0.6"
      string_decoder "~0.10.x"
      util-deprecate "~1.0.1"
  
  readable-stream@~1.0.26-4:
    version "1.0.34"
    resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
    dependencies:
      core-util-is "~1.0.0"
      inherits "~2.0.1"
      isarray "0.0.1"
      string_decoder "~0.10.x"
  
  rechoir@^0.6.2:
    version "0.6.2"
    resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
    dependencies:
      resolve "^1.1.6"
  
  repeat-string@^1.5.2:
    version "1.6.1"
    resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
  
  require-directory@^2.1.1:
    version "2.1.1"
    resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
  
  require-main-filename@^1.0.1:
    version "1.0.1"
    resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"
  
  resolve@^1.1.6:
    version "1.4.0"
    resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86"
    dependencies:
      path-parse "^1.0.5"
  
  resolve@^1.3.2:
    version "1.3.3"
    resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5"
    dependencies:
      path-parse "^1.0.5"
  
  right-align@^0.1.1:
    version "0.1.3"
    resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
    dependencies:
      align-text "^0.1.1"
  
  "semver@2 || 3 || 4 || 5", semver@^5.3.0:
    version "5.3.0"
    resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
  
  set-blocking@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
  
  shelljs@^0.7.0:
    version "0.7.8"
    resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
    dependencies:
      glob "^7.0.0"
      interpret "^1.0.0"
      rechoir "^0.6.2"
  
  signal-exit@^3.0.0:
    version "3.0.2"
    resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
  
  source-map-support@^0.4.0:
    version "0.4.15"
    resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.15.tgz#03202df65c06d2bd8c7ec2362a193056fef8d3b1"
    dependencies:
      source-map "^0.5.6"
  
  source-map@^0.4.4:
    version "0.4.4"
    resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b"
    dependencies:
      amdefine ">=0.0.4"
  
  source-map@^0.5.6:
    version "0.5.6"
    resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
  
  source-map@~0.5.1:
    version "0.5.7"
    resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
  
  spdx-correct@~1.0.0:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40"
    dependencies:
      spdx-license-ids "^1.0.2"
  
  spdx-expression-parse@~1.0.0:
    version "1.0.4"
    resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c"
  
  spdx-license-ids@^1.0.2:
    version "1.2.2"
    resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57"
  
  split-ca@^1.0.0:
    version "1.0.1"
    resolved "https://registry.yarnpkg.com/split-ca/-/split-ca-1.0.1.tgz#6c83aff3692fa61256e0cd197e05e9de157691a6"
  
  stack-trace@0.0.x:
    version "0.0.10"
    resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0"
  
  string-width@^1.0.1:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
    dependencies:
      code-point-at "^1.0.0"
      is-fullwidth-code-point "^1.0.0"
      strip-ansi "^3.0.0"
  
  string-width@^2.0.0:
    version "2.1.0"
    resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.0.tgz#030664561fc146c9423ec7d978fe2457437fe6d0"
    dependencies:
      is-fullwidth-code-point "^2.0.0"
      strip-ansi "^4.0.0"
  
  string_decoder@~0.10.x:
    version "0.10.31"
    resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
  
  strip-ansi@^3.0.0, strip-ansi@^3.0.1:
    version "3.0.1"
    resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
    dependencies:
      ansi-regex "^2.0.0"
  
  strip-ansi@^4.0.0:
    version "4.0.0"
    resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
    dependencies:
      ansi-regex "^3.0.0"
  
  strip-bom@^3.0.0:
    version "3.0.0"
    resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
  
  strip-eof@^1.0.0:
    version "1.0.0"
    resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
  
  strip-json-comments@^2.0.0:
    version "2.0.1"
    resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
  
  supports-color@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
  
  supports-color@^4.0.0:
    version "4.2.0"
    resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.2.0.tgz#ad986dc7eb2315d009b4d77c8169c2231a684037"
    dependencies:
      has-flag "^2.0.0"
  
  tar-fs@~1.12.0:
    version "1.12.0"
    resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-1.12.0.tgz#a6a80553d8a54c73de1d0ae0e79de77035605e1d"
    dependencies:
      mkdirp "^0.5.0"
      pump "^1.0.0"
      tar-stream "^1.1.2"
  
  tar-stream@^1.1.2:
    version "1.5.4"
    resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.5.4.tgz#36549cf04ed1aee9b2a30c0143252238daf94016"
    dependencies:
      bl "^1.0.0"
      end-of-stream "^1.0.0"
      readable-stream "^2.0.0"
      xtend "^4.0.0"
  
  "through@>=2.2.7 <3":
    version "2.3.8"
    resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
  
  ts-node@^3.2.0:
    version "3.2.0"
    resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-3.2.0.tgz#9814f0c0141784900cf12fef1197ad4b7f4d23d1"
    dependencies:
      arrify "^1.0.0"
      chalk "^2.0.0"
      diff "^3.1.0"
      make-error "^1.1.1"
      minimist "^1.2.0"
      mkdirp "^0.5.1"
      source-map-support "^0.4.0"
      tsconfig "^6.0.0"
      v8flags "^2.0.11"
      yn "^2.0.0"
  
  tsconfig@^6.0.0:
    version "6.0.0"
    resolved "https://registry.yarnpkg.com/tsconfig/-/tsconfig-6.0.0.tgz#6b0e8376003d7af1864f8df8f89dd0059ffcd032"
    dependencies:
      strip-bom "^3.0.0"
      strip-json-comments "^2.0.0"
  
  tslib@^1.7.1:
    version "1.7.1"
    resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.7.1.tgz#bc8004164691923a79fe8378bbeb3da2017538ec"
  
  tslint-config-prettier@^1.3.0:
    version "1.3.0"
    resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.3.0.tgz#248997b8cdac1cd4953e05eb49129c0c6286cd89"
  
  tslint@^5.5.0:
    version "5.5.0"
    resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.5.0.tgz#10e8dab3e3061fa61e9442e8cee3982acf20a6aa"
    dependencies:
      babel-code-frame "^6.22.0"
      colors "^1.1.2"
      commander "^2.9.0"
      diff "^3.2.0"
      glob "^7.1.1"
      minimatch "^3.0.4"
      resolve "^1.3.2"
      semver "^5.3.0"
      tslib "^1.7.1"
      tsutils "^2.5.1"
  
  tsutils@^2.5.1:
    version "2.6.1"
    resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.6.1.tgz#98ecf009594f4e4af884057be4cf41a450bc7637"
    dependencies:
      tslib "^1.7.1"
  
  typedarray@~0.0.5:
    version "0.0.6"
    resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
  
  typedoc-default-themes@^0.5.0:
    version "0.5.0"
    resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.5.0.tgz#6dc2433e78ed8bea8e887a3acde2f31785bd6227"
  
  typedoc@^0.8.0:
    version "0.8.0"
    resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.8.0.tgz#d7172bc6a29964f451b7609c005beadadefe2361"
    dependencies:
      "@types/fs-extra" "^4.0.0"
      "@types/handlebars" "^4.0.31"
      "@types/highlight.js" "^9.1.8"
      "@types/lodash" "^4.14.37"
      "@types/marked" "0.0.28"
      "@types/minimatch" "^2.0.29"
      "@types/shelljs" "^0.7.0"
      fs-extra "^4.0.0"
      handlebars "^4.0.6"
      highlight.js "^9.0.0"
      lodash "^4.13.1"
      marked "^0.3.5"
      minimatch "^3.0.0"
      progress "^2.0.0"
      shelljs "^0.7.0"
      typedoc-default-themes "^0.5.0"
      typescript "2.4.1"
  
  typescript@2.4.1, typescript@^2.4.1:
    version "2.4.1"
    resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.1.tgz#c3ccb16ddaa0b2314de031e7e6fee89e5ba346bc"
  
  uglify-js@^2.6:
    version "2.8.29"
    resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
    dependencies:
      source-map "~0.5.1"
      yargs "~3.10.0"
    optionalDependencies:
      uglify-to-browserify "~1.0.0"
  
  uglify-to-browserify@~1.0.0:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"
  
  universalify@^0.1.0:
    version "0.1.1"
    resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
  
  user-home@^1.1.1:
    version "1.1.1"
    resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190"
  
  util-deprecate@~1.0.1:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
  
  v8flags@^2.0.11:
    version "2.1.1"
    resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4"
    dependencies:
      user-home "^1.1.1"
  
  validate-npm-package-license@^3.0.1:
    version "3.0.1"
    resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc"
    dependencies:
      spdx-correct "~1.0.0"
      spdx-expression-parse "~1.0.0"
  
  which-module@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
  
  which@^1.2.9:
    version "1.2.14"
    resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
    dependencies:
      isexe "^2.0.0"
  
  window-size@0.1.0:
    version "0.1.0"
    resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d"
  
  winston@^2.3.1:
    version "2.3.1"
    resolved "https://registry.yarnpkg.com/winston/-/winston-2.3.1.tgz#0b48420d978c01804cf0230b648861598225a119"
    dependencies:
      async "~1.0.0"
      colors "1.0.x"
      cycle "1.0.x"
      eyes "0.1.x"
      isstream "0.1.x"
      stack-trace "0.0.x"
  
  wordwrap@0.0.2:
    version "0.0.2"
    resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f"
  
  wordwrap@~0.0.2:
    version "0.0.3"
    resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
  
  wrap-ansi@^2.0.0:
    version "2.1.0"
    resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85"
    dependencies:
      string-width "^1.0.1"
      strip-ansi "^3.0.1"
  
  wrappy@1:
    version "1.0.2"
    resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
  
  xtend@^4.0.0:
    version "4.0.1"
    resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
  
  y18n@^3.2.1:
    version "3.2.1"
    resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
  
  yallist@^2.1.2:
    version "2.1.2"
    resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
  
  yargs-parser@^7.0.0:
    version "7.0.0"
    resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9"
    dependencies:
      camelcase "^4.1.0"
  
  yargs@^8.0.2:
    version "8.0.2"
    resolved "https://registry.yarnpkg.com/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360"
    dependencies:
      camelcase "^4.1.0"
      cliui "^3.2.0"
      decamelize "^1.1.1"
      get-caller-file "^1.0.1"
      os-locale "^2.0.0"
      read-pkg-up "^2.0.0"
      require-directory "^2.1.1"
      require-main-filename "^1.0.1"
      set-blocking "^2.0.0"
      string-width "^2.0.0"
      which-module "^2.0.0"
      y18n "^3.2.1"
      yargs-parser "^7.0.0"
  
  yargs@~3.10.0:
    version "3.10.0"
    resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1"
    dependencies:
      camelcase "^1.0.2"
      cliui "^2.1.0"
      decamelize "^1.0.0"
      window-size "0.1.0"
  
  yn@^2.0.0:
    version "2.0.0"
    resolved "https://registry.yarnpkg.com/yn/-/yn-2.0.0.tgz#e5adabc8acf408f6385fc76495684c88e6af689a"

Trace: 
  Error: EISDIR: illegal operation on a directory, read

package.json:

{
  "name": "demeter",
  "version": "3.0.0-beta",
  "description": "Management tool for AppOps and full-stack engineers",
  "repository": "https://github.com/neighborly/demeter",
  "author": "Neighborly <dev@neighborly.com>",
  "license": "UNLICENSED",
  "scripts": {
    "test": "jasmine-ts \"spec/**/*.spec.ts\"",
    "prettier": "./node_modules/.bin/prettier  --write --single-quote src/**/*.ts",
    "doc": "./node_modules/.bin/typedoc --name Demeter --listEmittedFiles --preserveConstEnums --out docs/typedoc"
  },
  "dependencies": {
    "axios": "^0.16.2",
    "colors": "^1.1.2",
    "commander": "^2.11.0",
    "dockerode": "^2.5.0",
    "lodash": "^4.17.4",
    "winston": "^2.3.1"
  },
  "devDependencies": {
    "@types/colors": "^1.1.3",
    "@types/commander": "^2.9.1",
    "@types/dockerode": "^2.4.3",
    "@types/glob": "^5.0.30",
    "@types/jasmine": "^2.5.53",
    "@types/lodash": "^4.14.70",
    "@types/node": "^8.0.25",
    "@types/winston": "^2.3.3",
    "jasmine-spec-reporter": "^4.1.1",
    "jasmine-ts": "^0.2.0",
    "prettier": "^1.5.3",
    "tslint": "^5.5.0",
    "tslint-config-prettier": "^1.3.0",
    "typedoc": "^0.8.0",
    "typescript": "^2.4.1"
  }
}

  • Yarn v1.0.1
  • Node v8.4.0
  • macOS Sierra 10.12.6
@BYK
Copy link
Member

BYK commented Sep 7, 2017

Hey, can you share the full error message? If there's a stack trace, directory path etc.

@the-jackalope
Copy link
Author

Hey @BYK unfortunately I don't get any other error message/stack trace than what I provided. Is there another place on my filesystem that yarn logs verbose error messages to?

Thanks,

Jack

@the-jackalope
Copy link
Author

@BYK is there any way to get more verbose output on what yarn tries to read when it fails? It's basically unusable right now...

@BYK
Copy link
Member

BYK commented Sep 12, 2017

@the-jackalope sorry for the late response. --verbose is the one. Looks like the stack trace is not there from node. I need to address that.

In the meantime, have you tried clearing your cache?

I'll try to reproduce this locally.

@BYK
Copy link
Member

BYK commented Sep 12, 2017

I wasn't able to reproduce locally so I suspect you have a corrupted cache folder. I'd run yarn cache clean and try again.

@the-jackalope
Copy link
Author

No worries and thanks for getting back to me @BYK !

I tried yarn cache clean and it unfortunately didn't work - adding the verbose flag also doesn't yield any more information about the location of the illegal directory.

I'm also realizing that yarn/yarn install is only broken inside my project directory so I'm assuming something in there is causing it grief. npm works fine inside the project directory, though.

Let me know if I can provide you anything else that would help debug - filenames, directory names, packages, etc. Thanks for the help 😃

@BYK
Copy link
Member

BYK commented Sep 13, 2017

Darn! Would you mind sharing the output when running with --verbose too?

Sorry, I'll find a way to get better stack traces for these kind of things. It is very hard to see what is going on right now. Do you have any links (sym/hard) in your folder or inside your node_modules folders? Does it work the same with and without a node_modules folder?

@BYK
Copy link
Member

BYK commented Sep 13, 2017

I know you mentioned --verbose didn't give any clues about the location but if I know what stage this is happening, it may help me make better guesses.

@the-jackalope
Copy link
Author

When I run it inside of my current project directory (which contains a package.json) I get this error message:

$ yarn --verbose
yarn install v1.0.1
verbose 0.479 Error: EISDIR: illegal operation on a directory, read
error An unexpected error occurred: "EISDIR: illegal operation on a directory, read".
info If you think this is a bug, please open a bug report with the information provided in "/Users/JohnCook/Developer/demeter/lib/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Oddly it also fails in the parent directory of my project directory (which doesn't contain a package.json, or any files relevant to yarn or node), albeit with a slightly more verbose message:

$ yarn --verbose
yarn install v1.0.1
verbose 0.449 Error: EISDIR: illegal operation on a directory, read
Error: EISDIR: illegal operation on a directory, read
    at Object.fs.readSync (fs.js:681:18)
    at tryReadSync (fs.js:542:20)
    at Object.fs.readFileSync (fs.js:585:19)
    at onUnexpectedError (/usr/local/Cellar/yarn/1.0.1/libexec/lib/cli.js:82622:56)
    at config.init.then.catch.err (/usr/local/Cellar/yarn/1.0.1/libexec/lib/cli.js:82722:7)
    at <anonymous>

@BYK
Copy link
Member

BYK commented Sep 14, 2017

Wild guess: you have a .yarnrc directory in at least one of those folders or higher up in the directory tree.

@the-jackalope
Copy link
Author

Hahaaaa you are spot on! Not a genuine .yarnrc file but somehow a .yarnrc directory was lurking two directories up. Must have typo'd a command and never noticed...

I feel like I've been wasting your time - apologies thank you so much for the help @BYK !

@BYK
Copy link
Member

BYK commented Sep 14, 2017

I feel like I've been wasting your time - apologies thank you so much for the help @BYK !

Wasting my time? No sir, yarn was wasting your time all along. I'll submit a PR to fix this :)

@BYK
Copy link
Member

BYK commented Sep 14, 2017

So I've found the cause of the second error but the first one seems a bit different. May be you also have a yarn.lock or package.json folders in that first directory or higher up?

@the-jackalope
Copy link
Author

Aha - yes there was also a package.json directory a level up...man I really need to do some spring cleaning in my project directories

@unfunco
Copy link

unfunco commented Oct 7, 2017

I stumbled across this having the same error, my solution is different but it's here incase it helps anyone else, I was getting this Yarn error "EISDIR: illegal operation on a directory, read" when running create-react-app.

Running it again with the verbose option: create-react-app <app> --verbose I got:

verbose 0.36 Checking for configuration file "/Users/danielmorris/Projects/test/.npmrc".
verbose 0.361 Checking for configuration file "/Users/danielmorris/.npmrc".
verbose 0.361 Found configuration file "/Users/danielmorris/.npmrc".
verbose 0.361 Error: EISDIR: illegal operation on a directory, read
error An unexpected error occurred: "EISDIR: illegal operation on a directory, read".

It seems it's looking for an .npmrc file, but finds a directory with the same name, then errors when it tries to read it. I removed the directory and the Yarn error disappeared.

@kumarharsh
Copy link

@BYK I'm also getting this error after upgrading to yarn 1.2.0, but can't seem to find any .yarnrc or package.json named directories in the project folder or it's parents.

Also, running yarn run <any command> doesn't fail, it just throws those EISDIR errors and proceeds to work as normal.

@ChrisShen93
Copy link

@BYK
The same error, and there is no direction named yarnrc, npmrc, package.json or yarn.lock

There are some scripts in my package.json:

"bootstrap": "yarn --verbose || cnpm i || npm i",
"dev": "node build/dev-server.js",
"start:server": "nodemon --watch test/mock ./config/json-server.index.js",
"startDev": "concurrently \"npm run bootstrap\" \"npm run start:server\" \"npm run dev\""

When I run "yarn " to install dependencies, everything goes right.
When I run "yarn run startDev", the error will occur.

# error message
error Could not open cafile: EISDIR: illegal operation on a directory, read

node: v8.6.0
npm: v5.3.0
yarn: v1.2.0

@raphaelokon
Copy link

Having the same error here:

yarn run <any command> executes but throws:

# error message
error Could not open cafile: EISDIR: illegal operation on a directory, read

@hexa00
Copy link

hexa00 commented Oct 12, 2017

Note this duplicate #4695 contains a repro-script , Dockerfile or just git clone of a public project.

@leosco
Copy link

leosco commented Oct 19, 2017

It happens to me during my husky git hook scripts. Doesn't seem to actually affect anything though...

Basically all I'm doing is defining a "lint" script that eslints my codebase and then calling yarn lint in my precommit.

  "scripts": {
    "lint": "eslint client shared server --ext .js",
    "precommit": "yarn lint"
  },

When I call yarn start or something similar that doesn't call yarn again, it doesn't have any error message. Maybe this error is only being thrown when you call yarn in a yarn.

@griest024
Copy link

griest024 commented Oct 20, 2017

yarn only throws this error for me when its run as a npm script.

@phun-ky
Copy link

phun-ky commented Oct 20, 2017

I get the same error, but no "file" folders as described above ( directory named package.json, .yarnrc or .npmrc).

I'm getting this when I am running a script. The script runs fine, but the error is there.

@palaniichukdmytro
Copy link

@phun-ky I have the same issue

@rally25rs
Copy link
Contributor

This error when being run as part of an NPM or Yarn hook/script is a duplicate of #4695 and is fixed by #4700 however that fix is not yet in a released version. @griest024

@hoodie
Copy link

hoodie commented Oct 24, 2017

can we expect a 1.2.2? there have only been fix commits since 1.2.1

@phra
Copy link

phra commented Oct 30, 2017

:shipit:

@BYK
Copy link
Member

BYK commented Nov 7, 2017

Closing since this should be fixed and released :)

@BYK BYK closed this as completed Nov 7, 2017
davidthornton added a commit to davidthornton/node6-awscli that referenced this issue Nov 14, 2017
This version fixes an issue with version 1.2.1 where `yarn install` would fail with error `EISDIR: illegal operation on a directory` as documented by yarnpkg/yarn#4336.
@davidthornton
Copy link

davidthornton commented Nov 20, 2017

I'm still experiencing this in v1.3.2 is there something I'm doing wrong? Lol.

My error is:

EISDIR: illegal operation on a directory, open

@BYK
Copy link
Member

BYK commented Nov 20, 2017

@davidthornton please file a new issue with repro steps :)

@davidthornton
Copy link

Ahhh 😱 I only get this intermittently, and only during CI (we use Docker Cloud, so we can't inspect the yarn error logs - things just fail and retried builds usually succeed). To make matters worse, we run --pure-lockfile and I don't fully understand what that does LOL!

However, I will look at trying to put together a repo somehow, shortly!

@vladholubiev
Copy link

vladholubiev commented Jan 11, 2018

A weird trick helped me.

I had "test": "jest src" in package.json. I updated it to "test": "jest" and it worked.

Does it mean I have a file named src somewhere which conflicts?

@zamiang
Copy link

zamiang commented Jan 12, 2018

@vladgolubev I believe that is related more to jestjs/jest#5272 and is not yarn specific. That issue is then related to an issue in yargs or some transitive dependency of jest.

@eugenegodun
Copy link

eugenegodun commented Mar 29, 2018

I have this issue, just trying to run create-react-native-app

Eugenes-MacBookPro:projects eugenegodun$ create-react-native-app AwesomeProject --verbose
Creating a new React Native app in /Users/eugenegodun/Documents/Projects/AwesomeProject.

Using package manager as yarnpkg with yarn interface.
Installing packages. This might take a couple minutes.
Installing react-native-scripts...

yarn add v1.3.2
verbose 0.347 Checking for configuration file "/Users/eugenegodun/Documents/Projects/AwesomeProject/.npmrc".
verbose 0.348 Checking for configuration file "/Users/eugenegodun/.npmrc".
verbose 0.348 Found configuration file "/Users/eugenegodun/.npmrc".
verbose 0.349 Error: EISDIR: illegal operation on a directory, read
error An unexpected error occurred: "EISDIR: illegal operation on a directory, read".
info If you think this is a bug, please open a bug report with the information provided in "/Users/eugenegodun/Documents/Projects/AwesomeProject/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
'yarnpkg add --verbose --dev --exact --ignore-optional react-native-scripts' failed
  • node -v 8.7.0
  • yarn -v 1.3.2
  • MacOS 10.13.3

@chris-aeviator
Copy link

Just recently this happens to my system when running yarn init in an empty directory

❯  more yarn-error.log 
Arguments: 
  /usr/local/bin/node /usr/bin/yarn init

PATH: 
  /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:~/.yarn/bin:~/.local/bin:~/.yarn/bin:~/.local/bin

Yarn version: 
  1.3.2

Node version: 
  8.9.4

Platform: 
  linux x64

npm manifest: 
  No manifest

yarn manifest: 
  No manifest

Lockfile: 
  No lockfile

Trace: 
  Error: EISDIR: illegal operation on a directory, read

@ujjaldey
Copy link

I had the same issue. There was a linked folder in my directory which was causing the issue. i added that folder to ignore list and then it started working fine as expected.

@sarvalkar
Copy link

C:\Users\ANONYMOUS>npm install -g @angular/cli
Error: EISDIR: illegal operation on a directory, read
TypeError: Cannot read property 'get' of undefined
at errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
at C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js:83:20
at cb (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:224:22)
at C:\Program Files\nodejs\node_modules\npm\lib\npm.js:262:24
at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:81:7
at Array.forEach ()
at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:80:13
at f (C:\Program Files\nodejs\node_modules\npm\node_modules\once\once.js:25:25)
at finalize (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:194:14)
at Conf.afterCARead (C:\Program Files\nodejs\node_modules\npm\lib\config\load-cafile.js:14:14)
at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:495:12)
C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205
if (npm.config.get('json')) {
^

TypeError: Cannot read property 'get' of undefined
at process.errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
at emitOne (events.js:116:13)
at process.emit (events.js:211:7)
at process._fatalException (bootstrap_node.js:378:26)
Error: EISDIR: illegal operation on a directory, read
TypeError: Cannot read property 'get' of undefined
at errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
at C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js:83:20
at cb (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:224:22)
at C:\Program Files\nodejs\node_modules\npm\lib\npm.js:262:24
at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:81:7
at Array.forEach ()
at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:80:13
at f (C:\Program Files\nodejs\node_modules\npm\node_modules\once\once.js:25:25)
at finalize (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:194:14)
at Conf.afterCARead (C:\Program Files\nodejs\node_modules\npm\lib\config\load-cafile.js:14:14)
at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:495:12)
C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205
if (npm.config.get('json')) {
^

TypeError: Cannot read property 'get' of undefined
at process.errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
at emitOne (events.js:116:13)
at process.emit (events.js:211:7)
at process._fatalException (bootstrap_node.js:378:26)

C:\Users\ANONYMOUS>

@sarvalkar
Copy link

I am getting above error while installing npm.

@Mackonen-J
Copy link

Try locating and removing the .npmrc folder that is located in c:/users/your username/.npmrc

@sorrywm
Copy link

sorrywm commented Jun 5, 2019

I am still getting this error while trying to call npm install yarn as part of the galaxy install process. My Yarn version is 1.16.0, and I have attached my log. I am not sure where to look for directories disguised as files, or how to implement the fix described in #4700. Could anyone please advise?

yarn-error.log

@Strider-H
Copy link

I am still getting this error while trying to call npm install yarn as part of the galaxy install process. My Yarn version is 1.16.0, and I have attached my log. I am not sure where to look for directories disguised as files, or how to implement the fix described in #4700. Could anyone please advise?

yarn-error.log

HI sorrywm, Do u solve this issue? I also have the same problem:
yarn install v1.19.1
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:498:3)
at tryReadSync (fs.js:332:20)
at Object.readFileSync (fs.js:369:19)
at onUnexpectedError (/usr/share/yarn/lib/cli.js:92434:106)
at /usr/share/yarn/lib/cli.js:92553:9

@danielo515
Copy link

Ok, I'm experiencing the original reported error (there is a package.json file on parent directory), but there is also a package.json on the current directory, so, is this bug (the original one) fixed?

@Strider-H
Copy link

Strider-H commented May 8, 2020

Ok, I'm experiencing the original reported error (there is a package.json file on parent directory), but there is also a package.json on the current directory, so, is this bug (the original one) fixed?

I have solved the issue by deleting the package.json on in the parrent dir

@danielo515
Copy link

Ok, I'm experiencing the original reported error (there is a package.json file on parent directory), but there is also a package.json on the current directory, so, is this bug (the original one) fixed?

I have solved the issue by deleting the package.json on in the parrent dir

The thing is that I don't want to delete the package. json of the parent thir, it is a legit one

@Mihai-github
Copy link

Hi,
Still having the issue... has someone figured one the solution or not yet?

Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (fs.js:614:3)
    at tryReadSync (fs.js:383:20)
    at Object.readFileSync (fs.js:420:19)
    at UnableToResolveError.buildCodeFrameMessage (/Users/admin/Work/ugenie/ugenie-screens/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:347:17)
    at new UnableToResolveError (/Users/admin/Work/ugenie/ugenie-screens/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:333:35)
    at ModuleResolver.resolveDependency (/Users/admin/Work/ugenie/ugenie-screens/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:211:15)
    at DependencyGraph.resolveDependency (/Users/admin/Work/ugenie/ugenie-screens/node_modules/metro/src/node-haste/DependencyGraph.js:413:43)
    at /Users/admin/Work/ugenie/ugenie-screens/node_modules/metro/src/lib/transformHelpers.js:317:42
    at /Users/admin/Work/ugenie/ugenie-screens/node_modules/metro/src/Server.js:1471:14
    at Generator.next (<anonymous>)

@EMDevelop
Copy link

Still having the issue... has someone figured one the solution or not yet?

Hey @Mihai-github , I'm also having this issue with React-Native and Yarn Workspaces - did you figure out the solution?

@DustinX
Copy link

DustinX commented Dec 3, 2021

None of the above worked for me.
What worked for me was deleting the yarn.lock file.

It turned out the problem was I had npm linked to a local copy of a dependency, then installed, and so the lock file was pointing to that local copy, which caused the problem.

@melcarthus
Copy link

This is so wierd. I got the same error and all of the solutions above (or better yet the causes) where not what I had a problem with at all. For some reason when I removed yarn.lock and did a new install calling yarn everything when ok.

@mrluisfer
Copy link

I had this same error, and my solution was to look in my $HOME directory for a file left by Yarn such as yarn-error.log and the .npmrc folder and with that could solve it

$ rm -rf ~/yarn-error.log ~/.npmrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests