Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

yarn add @feathersjs/socketio gets stuck #112

Closed
AaronVasquez opened this issue Feb 19, 2018 · 2 comments
Closed

yarn add @feathersjs/socketio gets stuck #112

AaronVasquez opened this issue Feb 19, 2018 · 2 comments

Comments

@AaronVasquez
Copy link

yarn add @feathersjs/socketio gets stuck

Steps to reproduce

yarn add @feathersjs/socketio

Expected behavior

yarn add @feathersjs/socketio to install @feathersjs/socketio

Actual behavior

➜ yarn add @feathersjs/socketio
yarn add v1.3.2
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
[5/5] 📃  Building fresh packages...
⠁
[1/2] ⠂ husky
[-/2] ⠈ waiting...
[-/2] ⢀ waiting...
[-/2] ⠈ waiting...
[2/2] ⠈ uws
[-/2] ⠁ waiting...
[2/2] ⠁ uws
[-/2] ⠁ waiting...
[-/2] ⠁ waiting...
[4/4] 📃  Building fresh packages...
[-/2] ⠈ waiting...
[2/2] ⠈ uws
[-/2] ⠈ waiting...
[-/2] ⠈ waiting...
[-/2] ⠈ waiting...

System configuration

Tell us about the applicable parts of your setup.

My package.json

{
  "name": "@starter-kit/api",
  "description": "",
  "version": "0.1.0",
  "homepage": "",
  "main": "src",
  "keywords": [
    "feathers"
  ],
  "author": {
    "name": "Aaron Vasquez",
    "email": "aaronvasquez1@gmail.com"
  },
  "contributors": [],
  "bugs": {},
  "directories": {
    "lib": "src",
    "test": "test/"
  },
  "engines": {
    "node": "^9.5.0",
    "yarn": ">= 0.18.0"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.1",
    "eslint": "^4.18.0",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-config-prettier": "^2.9.0",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-prettier": "^2.6.0",
    "eslint-plugin-react": "^7.6.1",
    "husky": "^0.14.3",
    "lint-staged": "^6.1.1",
    "prettier": "^1.10.2",
    "prettier-eslint": "^8.8.1"
  },
  "scripts": {
    "mocha": "mocha test/ --recursive --exit",
    "precommit": "lint-staged",
    "start": "node src/",
    "test": "yarn run eslint && yarn run mocha"
  },
  "lint-staged": {
    "*.{js,jsx,css,md}": [
      "prettier --config --write",
      "eslint --fix",
      "git add"
    ]
  },
  "dependencies": {
    "@feathersjs/configuration": "^1.0.2",
    "@feathersjs/express": "^1.2.0",
    "@feathersjs/feathers": "^3.1.3",
    "compression": "^1.7.1",
    "cors": "^2.8.4",
    "helmet": "^3.11.0",
    "serve-favicon": "^2.4.5",
    "winston": "^2.4.0"
  }
}
@daffl
Copy link
Member

daffl commented Feb 19, 2018

I tested with yarn@1.3.2 and Node 9.5.0 on MacOS and am not seeing the issue. Since none of the Feathers core module is doing anything special on installation most issues like this are usually problems with the host system and can often be fixed by upgrading to the latest Node and package manager version.

@AaronVasquez
Copy link
Author

I was able to resolve this. Looks like its a known issue with yarn 1.3.2

I had to install node-gyp npm install -g node-gyp,
then was able to run yarn add @feathersjs/socketio

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

No branches or pull requests

2 participants