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

Websocket missing as peer dependency 'npm install -save baqend' #4

Closed
Booli opened this issue Nov 5, 2016 · 1 comment
Closed

Websocket missing as peer dependency 'npm install -save baqend' #4

Booli opened this issue Nov 5, 2016 · 1 comment

Comments

@Booli
Copy link

Booli commented Nov 5, 2016

Hey,

as per title. Running

npm install -save baqend

throws a missing peer dependency for websocket@1.0.22
-- UNMET PEER DEPENDENCY websocket@^1.0.22
npm WARN baqend@2.3.1 requires a peer of websocket@^1.0.22 but none was installed.

Running on Windows 10.
λ node -v v6.5.0

λ npm -v 3.10.3

@Booli Booli changed the title websocket missing as peer dependency 'npm install -save baqend' Websocket missing as peer dependency 'npm install -save baqend' Nov 5, 2016
@fbuecklers
Copy link
Member

Hi,
that is not an error, since it is currently not possible to define an optional peer dependency with npm. The websocket npm module is only required when you want to use our new real-time API with node.js (still beta).

If you want to prevent the warning or want to use the real-time API install the websocket module and add it to your project dependencies:

npm install --save websocket

Note that you need node-gyp installed to install the websocket module.

You can also ignore the WARN message, the SDK will work for you without that peer module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants