Comments (8)
Tried to launch 'grover' through yogi but still didn't work. Below are the console error messages. @davglass, would be great if you can help me out with this issue and also point me to a resource who is supporting yui tools now.
yogi [debug] yuidoc: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
yogi [ERROR] selleck: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\report\html.js:156
structuredText[lineNumber].covered = count > 0 ? 'yes' : 'no';
^
TypeError: Cannot set property 'covered' of undefined
at C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\report\html.js:156:66
at Array.forEach (native)
at annotateLines (C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\report\html.js:154:28)
at HtmlReport.Report.mix.writeDetailPage (C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\report\html.js:370:9)
at C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\report\html.js:435:26
at SyncFileWriter.extend.writeFile (C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\util\file-writer.js:57:9)
at FileWriter.extend.writeFile (C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\util\file-writer.js:124:23)
at C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\report\html.js:434:24
at Array.forEach (native)
at HtmlReport.Report.mix.writeFiles (C:\Program Files\nodejs\node_modules\yogi\node_modules\istanbul\lib\report\html.js:428:23)
from grover.
Can you please post the contents of my-widget.html
so I can try to reproduce this issue?
from grover.
As for the 2nd issue, it looks like you don't' have yuidoc or selleck installed. While those should be installed as dependencies (assuming you ran npm install -g yogi
), it's worth trying to install them manually, npm install -g yuidocjs selleck
. After that, ensure both are installed correctly via yuidoc -v
and selleck -v
. If installed and Yogi still doesn't work, then there might be an issue in of Yogi.
from grover.
Thanks @derek for looking into this. For some reasons, I can't share you the my-widget.html
code.
I have tried to update phantomjs.exe
and now i get a different issue when I ran `grover'.
Javascript Error
ReferenceError: Can't find variable: YUI
Did you come across above issue ? Below are my selleck & yuidoc versions installed on my machine. Looks like the issue is nothing to do with them.
Selleck 0.1.18
yuidoc 0.3.44
from grover.
I think I might be seeing the same problem.
I suspect your test uses relative paths to refer to the YUI seed file (as mine does). If you run grover directly on the test, it resolves the relative path with the file system happily. But yogi looks like it runs grover within the context of its server which imposes a root reference that your relative path can't step outside of. So the grover test fails as it can't resolve the reference to the YUI seed file.
from grover.
Just looking at this - https://github.com/yui/yui3-gallery/blob/master/src/gallery-datasource-async-function/tests/unit/test.html
I see - <script src="/build/yui/yui-min.js"></script>
Does this mean these unit tests are not runnable from the file system (ie double click the test and away she goes). Is that the model - that these then need to be always run from yogi?
from grover.
I think I am having a similar issue. Any ideas?
$ grover index.html
Starting Grover on 1 files with [email protected]
Running 15 concurrent tests at a time.
events.js:85
throw er; // Unhandled 'error' event
^
Error: spawn phantomjs ENOENT
at exports._errnoException (util.js:746:11)
at Process.ChildProcess._handle.onexit (child_process.js:1046:32)
at child_process.js:1137:20
at process._tickCallback (node.js:355:11)
from grover.
I'm running into the same issue when trying to setup grover on a new machine. appreciate any inputs if anyone got to fix it.
from grover.
Related Issues (18)
- Glob pattern does not work on the windows platform HOT 3
- Grover should optionally combohandle local files when using --server option. HOT 3
- Show console.log/Y.log messages HOT 2
- How to let grover know about modules loader doesn't know about HOT 2
- Allow grover to run against the NPM wrapper for PhantomJS HOT 1
- Test Results (TAP) are not rolled up HOT 3
- The --istanbul-report overrides the -co flag HOT 1
- Nested testsuites in XML output are not parseable by Jenkins HOT 2
- Support for Slimerjs
- 0.1.16 broke junit xml reporting with YUI when testing multiple files HOT 2
- The number of tests is wrong in TAP format
- 'output' option generates incorrect / duplicate count.
- Doesn't work with PhantomJS 2.1.1 HOT 2
- Coverage: Several test pages for the same piece of javascript are not rolled up correctly HOT 2
- Coverage: Need a means to produce a standard coverage report consumable by Jenkins or other coverage tool (lcov, etc) HOT 2
- Error when remove an iframe on teardown HOT 1
- Istanbul coverage + XML output not cooperating. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grover.