Skip to content

Conversation

@AlbanAndrieu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant