voryx / angular-wamp

An AngularJS library for AutobahnJS (WAMP v2)
MIT License
133 stars 28 forks source link

Add some dev dependencies to prevent errors in use with browserify #57

Closed p1n5u closed 8 years ago

p1n5u commented 8 years ago

Added utf-8-validateand bufferutil dev dependencies to prevent module not found errors when using browserify to include npm packages.

davidwdan commented 8 years ago

Thanks for the PR. Instead of including those dependencies, I think it might make more sense to exclude ws. Can you add this to your package.json and see if it fixes the errors you're getting?

  "browser": {
    "ws": false
  },
p1n5u commented 8 years ago

Thx for the idea, but unfortunately it only works with the two packages above installed. I tried to put the browser section to my projects package.json and to the one of the angular-wamp package.