Skip to content

Commit

Permalink
Fix build break
Browse files Browse the repository at this point in the history
New version of grpc-js required 'fs/promises', which does not exist in
the particular version of Node 12 included in the
hyperledger/fabric-nodeenv:2.2 image. It does exist in later releases of
Node 12.

This change configures the peer to use the v2.5 Node chaincode
container, which uses a later Node version. It also includes
npm-shrinkwrap.json files for the Node chaincode used by the scenario
tests to avoid any unexpected future dependency version resolution
changes.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
  • Loading branch information
bestbeforetoday committed Oct 9, 2024
1 parent 2ffeed0 commit 37c4e63
Show file tree
Hide file tree
Showing 4 changed files with 1,188 additions and 12 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
coverage
docs/gen
node_modules
npm-shrinkwrap.json
npm-debug.log
yarn.lock
tmp
Expand Down
Loading

0 comments on commit 37c4e63

Please sign in to comment.