Giter Site home page Giter Site logo

Comments (5)

Burnaviour avatar Burnaviour commented on July 22, 2024

what does this means :Lock explicitly to 2.4.2 fabric node modules what's the name of m module in pakage.json file ?

from fabric-chaincode-node.

mbwhite avatar mbwhite commented on July 22, 2024

@Burnaviour when a node module is install in a project, the version attached is represented as a semver

npm install --save chalk
cat packge.json
....
  "dependencies": {
    "chalk": "^5.2.0"
  }
...

The ^ is a semver prefix that indicates how npm should resolve this.. in this case it's any version starting at 5.2 up to but not including 6.0.0

By 'lock' I mean making the version '5.2.0' in this example... i.e. remove the semver prefix.

See https://docs.npmjs.com/about-semantic-versioning

https://jubianchi.github.io/semver-check/#/ is very useful to experiment and learn how it works

Will add

from fabric-chaincode-node.

Burnaviour avatar Burnaviour commented on July 22, 2024
 "dependencies": {
    "@grpc/grpc-js": "1.8.1",
    "fabric-contract-api": "2.4.2",
    "fabric-shim": "2.4.2"
  },    did this in both lock json and pakage json file 

from fabric-chaincode-node.

mbwhite avatar mbwhite commented on July 22, 2024

It looks like there are new releases of the grpc-js library; we've yet to test those. However the version of grpc-js has been locked to the working version in the published node chaincode. Therefore if using the latest this should be seen by folks.

from fabric-chaincode-node.

mbwhite avatar mbwhite commented on July 22, 2024

Going to close this now, as we've locked versions of the grpc-js code

from fabric-chaincode-node.

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.