GithubHelp home page GithubHelp logo

Unit tests failure about nodecloud-legacy HOT 3 OPEN

leopardslab avatar leopardslab commented on August 27, 2024
Unit tests failure

from nodecloud-legacy.

Comments (3)

gayashanbc avatar gayashanbc commented on August 27, 2024

Travis build which runs when we open a PR shows a different error message than this.

    at new AWS (/home/travis/build/cloudlibz/nodecloud/lib/core/aws/provider.js:22:36)
    at Provider.getProvider (/home/travis/build/cloudlibz/nodecloud/lib/core/base-provider.js:20:44)
    at new Provider (/home/travis/build/cloudlibz/nodecloud/lib/core/base-provider.js:12:27)
    at Object.getProvider (/home/travis/build/cloudlibz/nodecloud/lib/core/index.js:9:10)
    at Object.<anonymous> (/home/travis/build/cloudlibz/nodecloud/test/compute/ec2.js:7:25)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at /home/travis/build/cloudlibz/nodecloud/node_modules/mocha/lib/mocha.js:231:27
    at Array.forEach (native)
    at Mocha.loadFiles (/home/travis/build/cloudlibz/nodecloud/node_modules/mocha/lib/mocha.js:228:14)
    at Mocha.run (/home/travis/build/cloudlibz/nodecloud/node_modules/mocha/lib/mocha.js:514:10)
    at Object.<anonymous> (/home/travis/build/cloudlibz/nodecloud/node_modules/mocha/bin/_mocha:480:18)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.runMain (module.js:611:10)
    at run (bootstrap_node.js:387:7)
    at startup (bootstrap_node.js:153:9)
    at bootstrap_node.js:500:3

from nodecloud-legacy.

dilantha111 avatar dilantha111 commented on August 27, 2024

Hi @gayashanbc in my case it worked in node 7.0.0. Failed in node 8.9.3

from nodecloud-legacy.

gayashanbc avatar gayashanbc commented on August 27, 2024

Hi @dilantha111, thanks for the heads-up. Apparently it is working for me as well on Node 7.0, previously I was using Node 9.0.

I think the problem is that several dependencies of the gRPC library is not getting installed properly with the newer versions (after Version 7.0) of NodeJS.

from nodecloud-legacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.