Skip to content

Errors running browser-sync #2

Description

@amklose

I think line 4 in browser-sync.js should be changed by adding () after .create, turning it into a function call as per this document: https://www.browsersync.io/docs/api

After I do that, however, I run into another error:

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: listen EACCES 0.0.0.0:81
    at Object.exports._errnoException (util.js:1036:11)
    at exports._exceptionWithHostPort (util.js:1059:20)
    at Server._listen2 (net.js:1239:19)
    at listen (net.js:1288:10)
    at Server.listen (net.js:1384:5)
    at module.exports.plugin (/Users/aklose/.kalabox/apps/wisoven-d8/code/themes/wisoven/node_modules/browser-sync/lib/server/index.js:36:25)
    at Object.startServer [as fn] (/Users/aklose/.kalabox/apps/wisoven-d8/code/themes/wisoven/node_modules/browser-sync/lib/async.js:232:52)
    at /Users/aklose/.kalabox/apps/wisoven-d8/code/themes/wisoven/node_modules/browser-sync/lib/browser-sync.js:149:14
    at iterate (/Users/aklose/.kalabox/apps/wisoven-d8/code/themes/wisoven/node_modules/browser-sync/lib/utils.js:262:13)
    at /Users/aklose/.kalabox/apps/wisoven-d8/code/themes/wisoven/node_modules/browser-sync/lib/utils.js:271:25

This happens during the [BS] [UI] Starting Step: Finding a free port step of initializing browser-sync.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions