- From: Tomasz Pluskiewicz <tomasz@t-code.pl>
- Date: Mon, 30 Jun 2014 16:43:46 +0200
- To: Dave Longley <dlongley@digitalbazaar.com>
- Cc: Tomasz Pluskiewicz <tomasz@t-code.pl>, public-linked-json@w3.org
Yes, I have it included. It turned out that it has to be added before jsonld.js. On Mon, Jun 30, 2014 at 4:23 PM, Dave Longley <dlongley@digitalbazaar.com> wrote: > On 06/30/2014 04:53 AM, Tomasz Pluskiewicz wrote: >> Hi Dave >> >> I'm building using grunt.js and the test fail when executing >> Karma+jasmine in PhantomJS. >> >> Actually it turns out that locally I've got the same issue with >> PhantomJS (I was only running Chrome before). I tried installing >> requirejs and es6-promise and including them both in karma.conf.js but >> neither helps. I there anything else you'd like to know? > > Do you have the es6-promise file (promise-1.0.0.js or its minified > version) in the list of 'files' in the karma config? Those are the files > that the browser will load -- so if it's missing when PhantomJS is > running, that seems like that's where it needs to be. > >> >> Thanks, >> Tom >> >> On Thu, Jun 26, 2014 at 3:59 AM, Dave Longley >> <dlongley@digitalbazaar.com> wrote: >>> On 06/25/2014 04:30 PM, Tomasz Pluskiewicz wrote: >>>> Hi >>>> >>>> I'm running builds on travis. I've just committed some code that uses >>>> jsonld promises and travis is failing with error 'Unable to find a >>>> Promise implementation'. I found that error and made sure that >>>> es6-promise is installed with npm: 'npm install -g es6-promise' but >>>> still the error persists. >>>> >>>> What do I need to make promises available on travis build worker? >>> >>> Hmm, strange. We use travis for CI w/jsonld.js and we have no such >>> issues -- and it's running tests on the promises API and the package >>> configuration includes es6-promise as a dependency. >>> >>> https://travis-ci.org/digitalbazaar/jsonld.js >>> https://github.com/digitalbazaar/jsonld.js/blob/master/.travis.yml >>> >>> Not quite sure about this issue... if you could provide more specifics >>> about your setup/configuration maybe someone on the list could help. >>> >>> >>> -- >>> Dave Longley >>> CTO >>> Digital Bazaar, Inc. >>> >> > > > -- > Dave Longley > CTO > Digital Bazaar, Inc. >
Received on Monday, 30 June 2014 14:45:23 UTC