fast-speedtest-api icon indicating copy to clipboard operation
fast-speedtest-api copied to clipboard

Angular Integration

Open HashimJaved09 opened this issue 6 years ago • 3 comments

Can this plugin be used with angular...??? please is there any other way around to solve this problem and integrate this package with Angular 6...!!!

HashimJaved09 avatar Feb 15 '19 06:02 HashimJaved09

Even I am having trouble running this package in Angular 8. It is failing for me at require("fast-speedtest-api") step. Below is the error I am getting:

ERROR TypeError: Cannot read property 'slice' of undefined at Object../node_modules/readable-stream/lib/_stream_writable.js (_stream_writable.js:57) at webpack_require (bootstrap:79) at Object../node_modules/readable-stream/readable-browser.js (readable-browser.js:4) at webpack_require (bootstrap:79) at Object../node_modules/stream-http/lib/response.js (response.js:3) at webpack_require (bootstrap:79) at Object../node_modules/stream-http/lib/request.js (request.js:3) at webpack_require (bootstrap:79) at Object../node_modules/stream-http/index.js (index.js:1) at webpack_require (bootstrap:79)

aadysridhar avatar Dec 26 '19 19:12 aadysridhar

This is ment to be used with NodeJS. Since it uses NodeJS APIs it won't work in the browser as is.

Trikolon avatar Feb 15 '20 18:02 Trikolon

Thank you for your response. I really appreciate it.

On Sat, Feb 15, 2020 at 13:45 Paul Zühlcke [email protected] wrote:

This is ment to be used with NodeJS. Since it uses NodeJS APIs it won't work in the browser as is.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/branchard/fast-speedtest-api/issues/4?email_source=notifications&email_token=ABQDXSYKJLURKCZQCWXJJB3RDAZ6HA5CNFSM4GXUE6TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UFVY#issuecomment-586629847, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQDXS7DMHR3HKDDIHBQGFLRDAZ6HANCNFSM4GXUE6TA .

--

  • Thanks Aady (Aadhithya Vishnampettai Sridhar)

aadysridhar avatar Feb 15 '20 19:02 aadysridhar