Roots Discourse

Yarn start localhost is not reachable

#1

I cannot even start dev localhost on my window 10.

I just followed the documentation

composer create-project roots/sage your-theme-name
yarn install
yarn start

node -v
v9.11.2
config.json

{
  "entry": {
    "main": [
      "./scripts/main.js",
      "./styles/main.scss"
    ],
    "customizer": [
      "./scripts/customizer.js"
    ]
  },
  "publicPath": "/app/themes/sage/infinity",
  "devUrl": "http://infinity.dev",
  "proxyUrl": "http://localhost:3000",
  "cacheBusting": "[name]_[hash:8]",
  "watch": [
    "app/**/*.php",
    "config/**/*.php",
    "resources/views/**/*.php"
  ]
}

localhost:3001 works which are for browser sync panel.
What else should I share with you guys so that you guys can see which one is wrong?

Does it suppose to work without virtual env like docker or vagrant?

0 Likes

#2

No, you need to have a working development environment before Sage’s browsersync will work. We recommend using Trellis.

0 Likes

closed #3

This topic was automatically closed after 42 days. New replies are no longer allowed.

0 Likes