Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis test failing due to missing dependencies and old nodejs version #41

Open
seriousme opened this issue May 3, 2017 · 0 comments
Open

Comments

@seriousme
Copy link

Hi,

I noticed you have a lot of greenkeeper pulls failing on Travis with a rather cryptic error
e.g. https://travis-ci.org/pouchdb/pouchdb-auth/jobs/208505418#L265


> pouchdb-plugin-helper "lint"
events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:1011:11)
    at Process.ChildProcess._handle.onexit (child_process.js:802:34)

The problem seems to be that Travis is instructed to use nodejs 0.10 whereas many dependencies advise to use nodejs >= 4.0

When using version 4.8.3 of Node.js. it becomes clear that eslint is not present on this particular build.

> [email protected] helper /home/hans/pouchdb-auth
> pouchdb-plugin-helper "lint"

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn /home/hans/pouchdb-auth/node_modules/.bin/eslint ENOENT
    at exports._errnoException (util.js:907:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:189:32)
    at onErrorNT (internal/child_process.js:363:16)
    at nextTickCallbackWith2Args (node.js:511:9)
    at process._tickCallback (node.js:425:17)
    at Function.Module.runMain (module.js:443:11)
    at startup (node.js:140:18)
    at node.js:1043:3

In the other helper runs, its missing browserify, uglifyjs etc.

KR,
Hans

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

No branches or pull requests

1 participant