Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

node version required too low #124

Copy link
Copy link
@darrenjennings

Description

@darrenjennings
Issue body actions

"node": ">=0.10"

Travis shows error:

$ npm test
> httpsnippet@1.16.6 pretest /home/travis/build/Kong/httpsnippet
> standard && echint
standard: Node v4 or greater is required. `standard` did not run.
/home/travis/build/Kong/httpsnippet/node_modules/echint/lib/bin.js:5
const chalk = require('chalk')
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3
npm ERR! Test failed.  See above for more details.
The command "npm test" exited with 1.
after_script
0.51s$ npm run codeclimate
> httpsnippet@1.16.6 codeclimate /home/travis/build/Kong/httpsnippet
> codeclimate < coverage/lcov.info
sh: 1: cannot open coverage/lcov.info: No such file
sh: 1: codeclimate: not found
npm ERR! Linux 4.4.0-101-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v0.12.18/bin/node" "/home/travis/.nvm/versions/node/v0.12.18/bin/npm" "run" "codeclimate"
npm ERR! node v0.12.18
npm ERR! npm  v2.15.11
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! httpsnippet@1.16.6 codeclimate: `codeclimate < coverage/lcov.info`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the httpsnippet@1.16.6 codeclimate script 'codeclimate < coverage/lcov.info'.
npm ERR! This is most likely a problem with the httpsnippet package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     codeclimate < coverage/lcov.info
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs httpsnippet
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls httpsnippet
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/travis/build/Kong/httpsnippet/npm-debug.log
Done. Your build exited with 1.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.