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

Riot 3 with browser-sync? #7

Open
ckcollab opened this issue Aug 21, 2019 · 0 comments
Open

Riot 3 with browser-sync? #7

ckcollab opened this issue Aug 21, 2019 · 0 comments
Assignees

Comments

@ckcollab
Copy link

ckcollab commented Aug 21, 2019

Heyo! We love Riot at our shop, thanks so much for all of the work!

We're trying to setup browser-sync now and I am running into a problem attempting to use 0.0.2:

builder_1  | [0] [debug] +  Step Complete: Checking online status
builder_1  | [0] [debug] -> Starting Step: Resolve user plugins from options
builder_1  | [0] /app/node_modules/browser-sync/dist/plugins.js:151
builder_1  | [0]         throw e;
builder_1  | [0]         ^
builder_1  | [0]
builder_1  | [0] TypeError: Cannot set property 'reload' of undefined
builder_1  | [0]     at /app/node_modules/riot-hot-reload/index.js:52:35
builder_1  | [0]     at /app/node_modules/riot-hot-reload/index.js:2:65
builder_1  | [0]     at Object.<anonymous> (/app/node_modules/riot-hot-reload/index.js:5:2)
builder_1  | [0]     at Module._compile (internal/modules/cjs/loader.js:778:30)
builder_1  | [0]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
builder_1  | [0]     at Module.load (internal/modules/cjs/loader.js:653:32)
builder_1  | [0]     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
builder_1  | [0]     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
builder_1  | [0]     at Module.require (internal/modules/cjs/loader.js:692:17)
builder_1  | [0]     at require (internal/modules/cjs/helpers.js:25:18)
builder_1  | [0] npm ERR! code ELIFECYCLE
builder_1  | [0] npm ERR! errno 1

Probably a mismatch of versions or something? Should we even be trying to use 0.0.2?

..maybe time to try out Riot4! This is our setup so far, though:

  "dependencies": {
    "browser-sync": "^2.26.7",
    "concurrently": "^4.1.2",
    "riot": "^3.13.2",
    "riot-hot-reload": "0.0.2",
    "stylus": "^0.54.5"
  }
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

2 participants