grunt-phantomcss-gitdiff icon indicating copy to clipboard operation
grunt-phantomcss-gitdiff copied to clipboard

Fix build

Open AlbanAndrieu opened this issue 9 years ago • 0 comments

I am trying to run this grunt package on Unbuntu.

But it is failing: albandri@albandri-laptop-misys /workspace/users/albandri30/fr-zaproxy-test $ grunt phantomcss-gitdiff Running "phantomcss-gitdiff:desktop" (phantomcss-gitdiff) task FAIL TypeError: 'undefined' is not an object (evaluating 'path.substr') type: uncaughtError error: 'undefined' is not an object (evaluating 'path.substr') TypeError: 'undefined' is not an object (evaluating 'path.substr') at _prettyPath (/workspace/users/albandri30/fr-zaproxy-test/node_modules/grunt-phantomcss-gitdiff/node_modules/phantomcss-gitdiff/phantomcss.js:117) at _fileNameGetter (/workspace/users/albandri30/fr-zaproxy-test/node_modules/grunt-phantomcss-gitdiff/node_modules/phantomcss-gitdiff/phantomcss.js:131) at /workspace/users/albandri30/fr-zaproxy-test/node_modules/grunt-phantomcss-gitdiff/node_modules/phantomcss-gitdiff/phantomcss.js:160 at _check (/workspace/users/albandri30/fr-zaproxy-test/node_modules/grunt-phantomcss-gitdiff/node_modules/phantomcss-gitdiff/CasperJs/modules/casper.js:1969) stack: not provided

Baseline screenshots generated in /workspace/users/albandri30/fr-zaproxy-test/test/visual/screenshots Check that the generated screenshots are visually correct and delete them if they aren't.

So first I want to build it

Review on Reviewable

AlbanAndrieu avatar Jun 23 '15 16:06 AlbanAndrieu