# Newbie can't get Meteor near-tutorial app to pass CircleCI build

**URL:** <https://discuss.circleci.com/t/newbie-cant-get-meteor-near-tutorial-app-to-pass-circleci-build/10464>\
**Category:** Programming Languages\
**Tags:** nodejs, circle-yml\
**Created:** [February 19, 2017, 4:28pm UTC](https://discuss.circleci.com/t/newbie-cant-get-meteor-near-tutorial-app-to-pass-circleci-build/10464 "2017-02-19T16:28:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinrue](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/kevinrue/32/15483_2.png) [@kevinrue](https://discuss.circleci.com/u/kevinrue)\
**Post date:** [February 19, 2017, 4:28pm UTC](https://discuss.circleci.com/t/newbie-cant-get-meteor-near-tutorial-app-to-pass-circleci-build/10464/1 "2017-02-19T16:28:53Z")

</div>

Hi all,

I’m fairly new to Node/Meteor/React/JavaScript, but I do have experience with continuous integration for an R package on TravisCI. That’s for context.  
Following the Meteor Tutorial, I have implemented what is still a very simple application that is still very similar to the tutorial, with a single unit test on the server. Here is the [latest CI build](https://circleci.com/gh/kevinrue/Opera/18).  
I have followed the [continuous integration section](https://guide.meteor.com/testing.html#ci) of the Meteor Guide on testing, which works great locally (`meteor npm test`), but I cannot get neither CircleCI nor TravisCI to pass the test successfully. They both fail when looking for client-side tests with error message `phantomjs: Syntax error: Unterminated quoted string` which has been reported in a few places already (as a new user I’m out of weblinks in this post).  
I’ve tried quite a few different YAML configurations on both platforms without success, and at this stage I’d be really thankful to get advice.

Many thanks!  
Kevin

---

<div class="post-metadata">

**Author:** ![zzak](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/zzak/32/4233_2.png) [@zzak](https://discuss.circleci.com/u/zzak)\
**Post date:** [February 21, 2017, 7:45am UTC](https://discuss.circleci.com/t/newbie-cant-get-meteor-near-tutorial-app-to-pass-circleci-build/10464/2 "2017-02-21T07:45:21Z")

</div>

Hello @kevinrue,

Do the tests pass locally on your own machine?

---

<div class="post-metadata">

**Author:** ![kevinrue](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/kevinrue/32/15483_2.png) [@kevinrue](https://discuss.circleci.com/u/kevinrue)\
**Post date:** [February 21, 2017, 10:45am UTC](https://discuss.circleci.com/t/newbie-cant-get-meteor-near-tutorial-app-to-pass-circleci-build/10464/3 "2017-02-21T10:45:36Z")

</div>

Hi @zzak,  
Thanks for the reply.

It did (at the time I posted the issue).  
The only time the tests failed on my laptop is when I upgraded Node to the latest version (`v7.5.0`).

In the meantime, I actually temporarily sorted out the issue in the end thanks to [this GitHub post](https://github.com/meteor/todos/issues/198#issuecomment-278988767)  
Here is the [diff](https://github.com/kevinrue/Opera/compare/5b80025152ca...3b727b44fa52) to my .circle.yml that finally passed the build successfully. (Basically, updating to `meteor update --release 1.4.3-rc.3`)

Unfortunately, I think it’s a temporary fix for the CircleCI system until Meteor / dispatch:mocha-phantomjs / PhantomJS work out where exactly in their interaction is the source of the issue. I’m far too new to offer an expert opinion on that point.

---

<div class="post-metadata">

**Author:** ![zzak](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/zzak/32/4233_2.png) [@zzak](https://discuss.circleci.com/u/zzak)\
**Post date:** [March 2, 2017, 12:39pm UTC](https://discuss.circleci.com/t/newbie-cant-get-meteor-near-tutorial-app-to-pass-circleci-build/10464/4 "2017-03-02T12:39:31Z")

</div>

Hello Kevin,

I’m very glad you were able to resolve this issue yourself.

Best, Zak

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:33am UTC](https://discuss.circleci.com/t/newbie-cant-get-meteor-near-tutorial-app-to-pass-circleci-build/10464/5 "2018-06-18T11:33:09Z")

</div>


