Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

circleCI doesn't like es6 #100

Closed
daviddias opened this issue Nov 2, 2015 · 5 comments
Closed

circleCI doesn't like es6 #100

daviddias opened this issue Nov 2, 2015 · 5 comments

Comments

@daviddias
Copy link
Contributor

snipped taken from circleCI logs. @dignifiedquire @victorbjelkholm thoughts? :)

> gulp test

[16:20:06] Using gulpfile ~/js-ipfs-api/gulpfile.js
[16:20:06] Starting 'test'...
[16:20:06] Starting 'test:node'...
[16:20:06] Starting 'daemons:start'...

/home/ubuntu/js-ipfs-api/node_modules/ipfsd-ctl/node_modules/ipfs-api/src/request-api.js:3
const request = require('request')
^^^^^
[16:20:07] 'daemons:start' errored after 233 ms
[16:20:07] SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
@dignifiedquire
Copy link
Contributor

outdted node version, probably need to add a config file

@harlantwood
Copy link
Contributor

circle.yml might look like this:

test:
  override:
    - nvm install stable && nvm alias default stable
    - npm test

@harlantwood
Copy link
Contributor

fixed in #106

@daviddias
Copy link
Contributor Author

Sweeet! Thank you @harlantwood :D

@harlantwood
Copy link
Contributor

Sure!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants