PhantomJS 2.1.1 (Windows 7.0.0) ERROR

229 views
Skip to first unread message

umesh prajapati

unread,
May 16, 2016, 5:24:58 PM5/16/16
to phantomjs
Hi Everyone,

I am trying to setup the unit test enviornment for nodeJS project using karma, jasmine but getting below error message. Any help would be appreciated.

16 05 2016 14:15:20.210:DEBUG [middleware:source-files]: Fetching C:/APIDoorWay/cc-api-doorway/functions/src/test/validateAccessTokenTest.js
16 05 2016 14:15:20.210:DEBUG [web-server]: serving (cached): C:/APIDoorWay/cc-api-doorway/functions/src/main/validateAccessToken.js
16 05 2016 14:15:20.211:DEBUG [web-server]: serving (cached): C:/APIDoorWay/cc-api-doorway/functions/src/main/oauth-token/oauth-token.js
16 05 2016 14:15:20.211:DEBUG [web-server]: serving (cached): C:/APIDoorWay/cc-api-doorway/functions/src/test/validateAccessTokenTest.js
16 05 2016 14:15:20.582:DEBUG [phantomjs.launcher]: TypeError: undefined is not a constructor (evaluating 'new datatypes()')



16 05 2016 14:15:20.585:DEBUG [phantomjs.launcher]: TypeError: undefined is not a constructor (evaluating 'new datatypes()')


PhantomJS 2.1.1 (Windows 7 0.0.0) ERROR
  TypeError: undefined is not a constructor (evaluating 'new datatypes()')
  at C:/Users/phram/AppData/Local/Temp/0bd71c21aa7d5730d49173cdde118d73.browserify:15886


16 05 2016 14:15:20.600:DEBUG [karma]: Run complete, exiting.
16 05 2016 14:15:20.602:DEBUG [launcher]: Disconnecting all browsers
16 05 2016 14:15:20.604:DEBUG [framework.browserify]: cleaning up
PhantomJS 2.1.1 (Windows 7 0.0.0) ERROR
  TypeError: undefined is not a constructor (evaluating 'new datatypes()')
  at C:/Users/phram/AppData/Local/Temp/0bd71c21aa7d5730d49173cdde118d73.browserify:15886


16 05 2016 14:15:20.626:DEBUG [karma]: Run complete, exiting.
16 05 2016 14:15:20.628:DEBUG [launcher]: Disconnecting all browsers
16 05 2016 14:15:20.630:DEBUG [framework.browserify]: cleaning up
16 05 2016 14:15:20.637:DEBUG [launcher]: Process PhantomJS exited with code 0
16 05 2016 14:15:20.639:DEBUG [temp-dir]: Cleaning temp dir C:\Users\phram\AppData\Local\Temp\karma-64479805
16 05 2016 14:15:20.644:DEBUG [launcher]: Finished all browsers
Reply all
Reply to author
Forward
0 new messages