Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit fe4e88a

Browse files
Fix build break (#175)
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. This was fixed in grpc-js v1.12.2. This change includes npm-shrinkwrap.json files for the Node chaincode used by tests to avoid any unexpected future dependency version resolution changes. Signed-off-by: Mark S. Lewis <[email protected]>
1 parent 259f00c commit fe4e88a

File tree

6 files changed

+1645
-9
lines changed

6 files changed

+1645
-9
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
package-lock.json

src/test/fixtures/chaincode/node/fabcar/npm-shrinkwrap.json

Lines changed: 817 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/test/fixtures/chaincode/node/fabcar/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Hyperledger",
1515
"license": "Apache-2.0",
1616
"dependencies": {
17-
"fabric-contract-api": "~2.2",
18-
"fabric-shim": "~2.2"
17+
"fabric-contract-api": "~2.2.0",
18+
"fabric-shim": "~2.2.0"
1919
}
2020
}

0 commit comments

Comments
 (0)