Can you try removing web/node_modules and web/yarn.lock, and running
$ yarn install
$ grunt tests
We think this might be due to a bad version of phantomjs-prebuilt.
If that still fails, can you try running grunt as "yarn run grunt tests"?
Joao and George
On Fri, May 19, 2017 at 10:27 AM, Dave Page <dpage@pgadmin.org> wrote:
On Thu, May 18, 2017 at 4:37 PM, Matthew Kleiman <mkleiman@pivotal.io> wrote: > Dave, > > Can you try running grunt tests on the command line? > > The tests task will run the eslint and karma grunt tasks, which should > automatically webpack the React components before running the jasmine tests > in karma. > > If it still fails, send us the output of that.
Running "karma:unit" (karma) task 19 05 2017 15:26:13.366:ERROR [plugin]: Error during loading "karma-phantomjs-launcher" plugin: Path must be a string. Received null
webpack: Compiled successfully. webpack: Compiling... webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: (node:66274) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56 parseQuery() will be replaced with getOptions() in the next major version of loader-utils. 19 05 2017 15:26:18.887:WARN [karma]: No captured browser, open http://localhost:9876/
webpack: Compiled successfully. 19 05 2017 15:26:18.895:ERROR [karma]: Found 1 load error Warning: Task "karma:unit" failed. Use --force to continue.