chromeHAR icon indicating copy to clipboard operation
chromeHAR copied to clipboard

Too many dependencies

Open gaboom opened this issue 11 years ago • 7 comments

Please consider simplifying dependencies or providing a distributable package. Forcing plain users (who do not want to test, just run) to install dependencies likes bower, phantomjs, VCBuild.exe (!!!) is a limit in use and applicability. Thanks.

npm http 304 https://registry.npmjs.org/underscore

[email protected] postinstall c:\dev\src\chromeHAR\node_modules\grunt-contrib -imagemin\node_modules\jpegtran-bin node index.js

‼ pre-build test failed, compiling from source... ‼ pre-build test failed, compiling from source... x { [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscal l: 'getaddrinfo' } √ jpegtran built successfully! x { [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscal l: 'getaddrinfo' } √ jpegtran built successfully!

[email protected] postinstall c:\dev\src\chromeHAR\node_modules\grunt-contrib -imagemin\node_modules\optipng-bin node index.js

‼ pre-build test failed, compiling from source... x { [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscal l: 'getaddrinfo' } √ optipng built successfully!

[email protected] postinstall c:\dev\src\chromeHAR\node_modules\grunt-contrib-ima gemin\node_modules\gifsicle node index.js

‼ pre-build test failed, compiling from source... x { [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscal l: 'getaddrinfo' } √ gifsicle built successfully!

[email protected] postinstall c:\dev\src\chromeHAR\node_modules\grunt-contrib -imagemin\node_modules\pngquant-bin node index.js

? getaddrinfo ENOTFOUND

[email protected] install c:\dev\src\chromeHAR\node_modules\karma\node_modules\socket. io\node_modules\socket.io-client\node_modules\ws (node-gyp rebuild 2> builderror.log) || (exit 0)

c:\dev\src\chromeHAR\node_modules\karma\node_modules\socket.io\node_modules\sock et.io-client\node_modules\ws>node "c:\Program Files\nodejs\node_modules\npm\bin
node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua l Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [c:\dev\src\chromeHAR\node_modules\karma\node_modules
socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln] MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua l Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [c:\dev\src\chromeHAR\node_modules\karma\node_modules
socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]

gaboom avatar Oct 28 '14 08:10 gaboom

I agree with you. I was actually going to start a a new branch.

  1. To refactor and clean up the code
  2. To catch up with the latest chrome network panel

ericduran avatar Oct 29 '14 03:10 ericduran

I agree with you. I was actually going to start a a new branch.

  1. To refactor and clean up the code
  2. To catch up with the latest chrome network panel

awesome! if you have time, it'd be really neat if you could document/blog somewhere how you extract Chrome's CSS and adapt it for chromeHAR. would be interesting stuff.

cvan avatar Oct 29 '14 04:10 cvan

@cvan definitely!

@cvan question for you, I was actually going to start a separate project. Mainly because I want to make it on Polymer and I wanted to add random features that aren't really in chrome aka: Flagging non gzip content or flagging none CDN content or non cache content,etc...

Which to be fair don't really belong in this project. Thoughts? New repo or we can just make a branch here.

I want to do new repo and I'm perfectly happy giving you commit access there too.

ericduran avatar Oct 30 '14 21:10 ericduran

@cvan question for you, I was actually going to start a separate project. Mainly because I want to make it on Polymer and I wanted to add random features that aren't really in chrome aka: Flagging non gzip content or flagging none CDN content or non cache content,etc...

as I'm sure you know, there are lots of tools that already do all that:

  • https://developers.google.com/speed/pagespeed/insights/
  • http://speedcurve.com/
  • http://www.sitespeed.io/
  • https://github.com/macbre/phantomas/
  • http://www.showslow.com/
  • https://github.com/marcelduran/webpagetest-api

but, do you know about Chrome's Network Audits in the Dev Tools?

because I think that does exactly what you're talking about.

screenshot 2014-10-30 14 45 26

now, if you started a separate chromeAudits repository, that would be insanely cool!

and then port all of the other parts of the Chrome Dev Tools to JS :)

cvan avatar Oct 30 '14 21:10 cvan

@cvan Yea, I know they do it. But I want to do it all off a single HAR file.

All those require you be on the actual page. What i want to do is collect tons of hars and then analysis it later.

So yea, it's essentially everything you can do in the panel but at a later time based on a HAR.

ericduran avatar Oct 31 '14 18:10 ericduran

So yea, it's essentially everything you can do in the panel but at a later time based on a HAR.

:+1: to that. I think that's brilliant. I'd gladly help with that; it aligns with my project's needs.

cvan avatar Oct 31 '14 18:10 cvan

Flagging non gzip content or flagging none CDN content or non cache content,etc...

Thats definitely stuff we're interested in having inside of Chrome's network panel as well. If you use our latest frontend and build on that, then we would be able to upstream your features.

paulirish avatar Apr 17 '15 22:04 paulirish