Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'start' of undefined #2

Open
chetanSrajiv opened this issue Jun 5, 2021 · 0 comments
Open

Cannot read property 'start' of undefined #2

chetanSrajiv opened this issue Jun 5, 2021 · 0 comments

Comments

@chetanSrajiv
Copy link

jsonjunit --json ./reports/json --junit ./reports/xml

C:\playwright_framework\playwright\playwright-tests\node_modules\jsonjunit\lib\jsonjunit.js:35
var dateFormatted = new Date(jsonData.stats.start),
^

TypeError: Cannot read property 'start' of undefined
at Object.convertJson (C:\playwright_framework\playwright\playwright-tests\node_modules\jsonjunit\lib\jsonjunit.js:35:61)
at Object. (C:\playwright_framework\playwright\playwright-tests\node_modules\jsonjunit\index.js:33:23)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] junit-xml-generation: jsonjunit --json ./reports/json --junit ./reports/xml
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] junit-xml-generation script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

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

No branches or pull requests

1 participant