rddill-IBM / ZeroToBlockchain

Tutorial for Zero to Blockchain series
342 stars 924 forks source link

npm run test error #63

Open djdubeyji opened 4 years ago

djdubeyji commented 4 years ago

~/ZeroToBlockchain/Chapter04$ npm run test

zerotoblockchain-network@0.1.6 pretest /home/dj/ZeroToBlockchain/Chapter04 npm run lint

zerotoblockchain-network@0.1.6 lint /home/dj/ZeroToBlockchain/Chapter04 eslint ./network

zerotoblockchain-network@0.1.6 postlint /home/dj/ZeroToBlockchain/Chapter04 npm run licchk

zerotoblockchain-network@0.1.6 licchk /home/dj/ZeroToBlockchain/Chapter04 license-check

zerotoblockchain-network@0.1.6 postlicchk /home/dj/ZeroToBlockchain/Chapter04 npm run doc

zerotoblockchain-network@0.1.6 doc /home/dj/ZeroToBlockchain/Chapter04 jsdoc --readme ./README.md --pedantic --recurse -c jsdoc.json -d network/out

zerotoblockchain-network@0.1.6 test /home/dj/ZeroToBlockchain/Chapter04 mocha network/test --recursive -t 4000

Finance Network 1) "before all" hook

0 passing (117ms) 1 failing

1) Finance Network "before all" hook: Error: Card not found: admin@zerotoblockchain-network at IdCard.fromDirectory.catch.cause (node_modules/composer-common/lib/cardstore/filesystemcardstore.js:74:27) at

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! zerotoblockchain-network@0.1.6 test: mocha network/test --recursive -t 4000 npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the zerotoblockchain-network@0.1.6 test script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/dj/.npm/_logs/2020-01-22T03_50_04_916Z-debug.log