question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with WebSocketTransport.js

See original GitHub issue
  • Puppeteer version: v1.10.0
  • Platform / OS version: Windows 7 (x64)
  • Node.js version: v10.13.0
  1. install a puppeteer in the project
  2. try to run a project (npm run serve)
  3. an error:
This dependency was not found:
* ws in ./node_modules/puppeteer/lib/WebSocketTransport.js
To install it, you can run: npm install --save ws

in fact, this dependence is established.

default

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:28 (2 by maintainers)

github_iconTop GitHub Comments

14reactions
sunchenggitcommented, Jun 5, 2019

正常使用puppeteer是完全没有问题的,但是当我在使用vue-cli3创建的项目中使用puppeteer的时候,就会提示这个错误。我同样运行了npm install --save ws 这个命令,但是依旧不起作用。

8reactions
gustavojmarrerocommented, Feb 24, 2019

@PeterKnight, update the node js version, I don’t remember, but it seems it helped me Hello, I had the same problem and i resolved excuted npm install --save ws and changed the path in the file WebSocketTransport.js const WebSocket = require(‘…/node_modules/ws’);

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting connection issues | Socket.IO
When a browser tab is not in focus, some browsers (like Chrome) throttle JavaScript timers, which could lead to a disconnection by ping...
Read more >
Websocket transport reliability (Socket.io data loss during ...
But the message from U2 is lost in space because on server U1 was disconnected by timeout. That is the problem, I wan't...
Read more >
Websocket transport with SSL connection problem
I installed SSL[not self signed] to Janus server , REST transport is working fine. But When i connect using websocket transport socket is...
Read more >
RDS WebClient through AppProxy failing for external access
I setup a new 2 node onPrem RDS 2022 setup Published through AppProxy on one of our other Tenancies just a few weeks...
Read more >
Problem connecting to Websocket - Issues developing apps
Currently I try to run the tutorial openvidu-js-node in Firefox. ... WebSocketTransport.cpp:460:processMessage: Message: {“id”:5 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found