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

Concurrent install messes up #1418

Closed
octref opened this issue Oct 25, 2016 · 2 comments
Closed

Concurrent install messes up #1418

octref opened this issue Oct 25, 2016 · 2 comments

Comments

@octref
Copy link

octref commented Oct 25, 2016

I tried cloning vuejs/vue and vuejs/vuex, and ran yarn in two iTerm windows to install deps for both simultaneously.

Both yarn errored out.

Then I tried yarn again, first in vue and then in vuex. Both installs succeeded.

Is concurrent yarn supported?

Here are the error files:

Arguments: 
  /Users/octref/.nvm/versions/node/v6.5.0/bin/node /Users/octref/.nvm/versions/node/v6.5.0/bin/yarn

PATH: 
  /Users/octref/anaconda3/bin:/Users/octref/.nvm/versions/node/v6.5.0/bin:/Users/octref/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/octref/Code/go/bin:/Users/octref/.fzf/bin

Yarn version: 
  0.16.1

Node version: 
  6.5.0

Platform: 
  darwin x64

npm manifest: 
  {
    "name": "vue",
    "version": "2.0.3",
    "description": "Reactive, component-oriented view layer for modern web interfaces.",
    "main": "dist/vue.common.js",
    "typings": "types/index.d.ts",
    "files": [
      "dist/vue.common.js",
      "dist/vue.js",
      "dist/vue.min.js",
      "src",
      "types/index.d.ts",
      "types/options.d.ts",
      "types/plugin.d.ts",
      "types/vnode.d.ts",
      "types/vue.d.ts"
    ],
    "scripts": {
      "dev": "TARGET=web-standalone-dev rollup -w -c build/config.js",
      "dev:runtime": "TARGET=web-runtime-dev rollup -w -c build/config.js",
      "dev:test": "karma start build/karma.dev.config.js",
      "dev:ssr": "TARGET=web-server-renderer rollup -w -c build/config.js",
      "dev:compiler": "TARGET=web-compiler rollup -w -c build/config.js",
      "build": "node build/build.js",
      "build:ssr": "npm run build -- vue.common.js,vue-server-renderer",
      "test": "npm run lint && flow check && npm run test:types && npm run test:cover && npm run test:e2e -- --env phantomjs && npm run test:ssr",
      "test:unit": "karma start build/karma.unit.config.js",
      "test:cover": "karma start build/karma.cover.config.js",
      "test:e2e": "npm run build -- vue.min.js && node test/e2e/runner.js",
      "test:ssr": "npm run build:ssr && VUE_ENV=server jasmine JASMINE_CONFIG_PATH=test/ssr/jasmine.json",
      "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2",
      "test:types": "tsc -p ./types/test/tsconfig.json",
      "lint": "eslint src build test",
      "flow": "flow check",
      "sauce": "SAUCE=true karma start build/karma.sauce.config.js",
      "bench:ssr": "npm run build:ssr && NODE_ENV=production VUE_ENV=server node benchmarks/ssr/renderToString.js && NODE_ENV=production VUE_ENV=server node benchmarks/ssr/renderToStream.js",
      "release": "bash build/release.sh"
    },
    "repository": {
      "type": "git",
      "url": "git+https://github.com/vuejs/vue.git"
    },
    "keywords": [
      "vue"
    ],
    "author": "Evan You",
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/vuejs/vue/issues"
    },
    "homepage": "https://github.com/vuejs/vue#readme",
    "devDependencies": {
      "babel-core": "^6.9.0",
      "babel-eslint": "^6.0.4",
      "babel-loader": "^6.2.4",
      "babel-plugin-coverage": "^1.0.0",
      "babel-preset-es2015": "^6.9.0",
      "babel-preset-flow-vue": "^1.0.0",
      "buble": "^0.14.0",
      "chromedriver": "^2.21.2",
      "codecov.io": "^0.1.6",
      "cross-spawn": "^4.0.0",
      "de-indent": "^1.0.2",
      "es6-promise": "^3.2.1",
      "eslint": "^3.4.0",
      "eslint-config-vue": "^1.1.0",
      "eslint-loader": "^1.3.0",
      "eslint-plugin-flowtype": "^2.16.0",
      "eslint-plugin-html": "^1.5.2",
      "flow-bin": "^0.32.0",
      "he": "^1.1.0",
      "http-server": "^0.9.0",
      "jasmine": "2.4.x",
      "jasmine-core": "2.4.x",
      "karma": "^1.1.0",
      "karma-chrome-launcher": "^2.0.0",
      "karma-coverage": "^1.0.0",
      "karma-firefox-launcher": "^1.0.0",
      "karma-jasmine": "^1.0.2",
      "karma-mocha-reporter": "^2.0.4",
      "karma-phantomjs-launcher": "^1.0.0",
      "karma-safari-launcher": "^1.0.0",
      "karma-sauce-launcher": "^1.0.0",
      "karma-sourcemap-loader": "^0.3.0",
      "karma-webpack": "^1.7.0",
      "lodash": "^4.13.1",
      "nightwatch": "^0.9.0",
      "nightwatch-helpers": "^1.2.0",
      "phantomjs-prebuilt": "^2.1.1",
      "rollup": "^0.36.1",
      "rollup-plugin-alias": "^1.2.0",
      "rollup-plugin-babel": "^2.4.0",
      "rollup-plugin-buble": "^0.14.0",
      "rollup-plugin-flow-no-whitespace": "^1.0.0",
      "rollup-plugin-replace": "^1.1.0",
      "rollup-watch": "^2.5.0",
      "selenium-server": "2.53.1",
      "typescript": "^2.0.2",
      "uglify-js": "^2.6.2",
      "webpack": "^1.13.2"
    }
  }

yarn manifest: 
  No manifest

bower manifest: 
  No manifest

Lockfile: 
  No lockfile

Trace: 
  Error: https://registry.yarnpkg.com/mocha-nightwatch/-/mocha-nightwatch-2.2.9.tgz: ENOENT: no such file or directory, lstat '/Users/octref/.yarn-cache/npm-mocha-nightwatch-2.2.9/mocha.js'
      at Error (native)
Arguments: 
  /Users/octref/.nvm/versions/node/v6.5.0/bin/node /Users/octref/.nvm/versions/node/v6.5.0/bin/yarn

PATH: 
  /Users/octref/anaconda3/bin:/Users/octref/.nvm/versions/node/v6.5.0/bin:/Users/octref/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/octref/Code/go/bin:/Users/octref/.fzf/bin

Yarn version: 
  0.16.1

Node version: 
  6.5.0

Platform: 
  darwin x64

npm manifest: 
  {
    "name": "vuex",
    "version": "2.0.0",
    "description": "state management for Vue.js",
    "main": "dist/vuex.js",
    "typings": "types/index.d.ts",
    "files": [
      "dist",
      "src",
      "types/index.d.ts",
      "types/helpers.d.ts",
      "types/vue.d.ts"
    ],
    "scripts": {
      "dev": "node examples/server.js",
      "dev:dist": "rollup -wm -c build/rollup.config.js",
      "build": "npm run build:main && npm run build:logger",
      "build:main": "rollup -c build/rollup.config.js && uglifyjs dist/vuex.js -cm --comments -o dist/vuex.min.js",
      "build:logger": "rollup -c build/rollup.logger.config.js",
      "test": "eslint src && npm run test:types && npm run test:unit && npm run test:e2e",
      "test:unit": "rollup -c build/rollup.config.js && jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
      "test:e2e": "node test/e2e/runner.js",
      "test:types": "tsc -p types/test",
      "release": "bash build/release.sh",
      "docs": "cd docs && gitbook serve",
      "docs:deploy": "cd docs && ./deploy.sh"
    },
    "repository": {
      "type": "git",
      "url": "git+https://github.com/vuejs/vuex.git"
    },
    "author": "Evan You",
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/vuejs/vuex/issues"
    },
    "homepage": "https://github.com/vuejs/vuex#readme",
    "devDependencies": {
      "babel-core": "^6.2.1",
      "babel-loader": "^6.2.0",
      "babel-plugin-transform-runtime": "^6.1.18",
      "babel-polyfill": "^6.2.0",
      "babel-preset-es2015": "^6.1.18",
      "babel-preset-es2015-rollup": "^1.1.1",
      "babel-preset-stage-2": "^6.1.18",
      "babel-runtime": "^6.0.0",
      "cross-spawn": "^4.0.0",
      "css-loader": "^0.25.0",
      "eslint": "^3.5.0",
      "eslint-config-vue": "^1.0.0",
      "eslint-plugin-html": "^1.5.2",
      "express": "^4.14.0",
      "jasmine": "2.4.1",
      "jasmine-core": "2.4.1",
      "nightwatch": "^0.9.5",
      "nightwatch-helpers": "^1.1.0",
      "phantomjs-prebuilt": "^2.1.7",
      "rollup": "^0.34.13",
      "rollup-plugin-buble": "^0.14.0",
      "rollup-watch": "^2.5.0",
      "selenium-server": "^2.53.1",
      "todomvc-app-css": "^2.0.3",
      "typescript": "^2.0.3",
      "uglify-js": "^2.6.2",
      "vue": "^2.0.0-rc.7",
      "vue-loader": "^9.0.3",
      "webpack": "^1.13.2",
      "webpack-dev-middleware": "^1.6.1",
      "webpack-hot-middleware": "^2.12.2"
    }
  }

yarn manifest: 
  No manifest

bower manifest: 
  {
    "name": "vuex",
    "main": "dist/vuex.js",
    "description": "state management for Vue.js",
    "authors": "Evan You",
    "license": "MIT",
    "ignore": [
      "examples",
      "test",
      "docs",
      ".gitignore",
      ".eslintrc",
      ".babelrc",
      "*.json",
      "*.md",
      "*.yml"
    ]
  }

Lockfile: 
  No lockfile

Trace: 
  Error: ENOTEMPTY: directory not empty, rmdir '/Users/octref/.yarn-cache/npm-hasha-2.2.0'
      at Error (native)
@wyze
Copy link
Member

wyze commented Oct 25, 2016

Duplicate of #683.

@wyze wyze closed this as completed Oct 25, 2016
@wyze wyze added the duplicate label Oct 25, 2016
@iantanwx
Copy link

I would be eternally indebted to the yarn team for fixing this and allowing us to use lerna with yarn.

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

No branches or pull requests

3 participants