Code Monkey home page Code Monkey logo

Comments (4)

liv-io avatar liv-io commented on September 26, 2024 1

Hi @Kammerlo
Many thanks for your efforts. I will try to look into this in the next 2 days and send you a feedback.

from cardano-rosetta.

liv-io avatar liv-io commented on September 26, 2024

I took a moment to build the container with Node.js version 14.

The underlying stack is:

  • cardano-node 1.35.7
  • postgresql 15.3
  • cardano-db-sync 13.1.1.3
  • cardano-rosetta 2.1.0

The result is the same, running cardano-rosetta-server doesn't work for me, but maybe I am using a wrong command.

node /usr/local/src/cardano-rosetta/dist/src/server/index.js

I get the error message:

internal/validators.js:124
    throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (internal/errors.js:322:7)
    at validateString (internal/validators.js:124:11)
    at Object.resolve (path.js:1074:7)
    at Object.<anonymous> (/usr/local/src/cardano-rosetta/dist/src/server/index.js:37:69)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'ERR_INVALID_ARG_TYPE'
}

Any inputs are appreciated.

from cardano-rosetta.

Kammerlo avatar Kammerlo commented on September 26, 2024

Hi,
we just merged a Pullrequest with a version bump for cardano-node 8.1.2 and nodejs 18. I hope it solves your problems. If not let me know.

from cardano-rosetta.

liv-io avatar liv-io commented on September 26, 2024

Closing ticket as per our discussion.

from cardano-rosetta.

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.