Не удалось открыть браузер (если вы используете BrowserSync в автономной среде, вам может потребоваться установить для опции открытия значение false) - PullRequest
0 голосов
/ 01 октября 2019

Я пытаюсь запустить команду сланца, которая является инструментом темы Shopify, и у меня есть это предупреждение,

Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

Вот мой package.jason

  "name": "development-theme",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "eslint": "eslint \"src/scripts/**/*\"",
    "stylelint": "stylelint \"src/styles/**/*\" --syntax scss"
  },
  "repository": {
    "type": "git",
    "url": "git@ec2-35-167-228-15.us-west-2.compute.amazonaws.com:development-theme.git"
  },
  "license": "ISC",
  "devDependencies": {
    "@shopify/slate-tools": "0.14.0",
    "decompress": "^4.2.0",
    "each-async": "^1.1.1",
    "eslint": "^4.18.0",
    "gulp": "^3.9.1",
    "gulp-ignore": "^3.0.0",
    "gulp-util": "^3.0.8",
    "inherits": "^2.0.4",
    "install-peers": "^1.0.3",
    "lodash._isnative": "^2.4.1",
    "lodash._objecttypes": "^2.4.1",
    "lodash._setbinddata": "^2.4.1",
    "lodash._shimkeys": "^2.4.1",
    "lodash.isobject": "^3.0.2",
    "lru-cache": "^5.1.1",
    "request": "^2.88.0",
    "sigmund": "^1.0.1",
    "stylelint": "^9.1.1",
    "stylelint-config-standard": "^18.1.0",
    "stylelint-order": "^0.8.1",
    "through2": "^3.0.1",
    "uuid": "^3.3.3"
  },
  "dependencies": {
    "natives": "^1.1.6",
    "react": "^0.14.9",
    "react-dom": "^0.14.9",
    "run-sequence": "^2.2.1"
  }
}

Я понимаю, что мне нужно будет установить опцию open в false, но я не знаю, какой и как?

...