admc / wd

A node.js client for webdriver/selenium 2.
Other
1.53k stars 402 forks source link

Unexpected end of JSON input while parsing near '...","dependencies":{"ba' #569

Closed queenie0708 closed 5 years ago

queenie0708 commented 5 years ago

Got "Unexpected end of JSON input while parsing near '...","dependencies":{"ba'" When "npm install -g wd"

admc commented 5 years ago

Can you remove and try again? That looks like an incomplete network request or something.

Here's what it looked like for me, maybe you can paste the rest of the output?

adam@langara:~$ npm install -g wd /usr/local/bin/wd -> /usr/local/lib/node_modules/wd/lib/bin.js

wd@1.11.1 install /usr/local/lib/node_modules/wd node scripts/build-browser-scripts