Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run test error #63

Open
djdubeyji opened this issue Jan 22, 2020 · 0 comments
Open

npm run test error #63

djdubeyji opened this issue Jan 22, 2020 · 0 comments

Comments

@djdubeyji
Copy link

~/ZeroToBlockchain/Chapter04$ npm run test

[email protected] pretest /home/dj/ZeroToBlockchain/Chapter04
npm run lint

[email protected] lint /home/dj/ZeroToBlockchain/Chapter04
eslint ./network

[email protected] postlint /home/dj/ZeroToBlockchain/Chapter04
npm run licchk

[email protected] licchk /home/dj/ZeroToBlockchain/Chapter04
license-check

[email protected] postlicchk /home/dj/ZeroToBlockchain/Chapter04
npm run doc

[email protected] doc /home/dj/ZeroToBlockchain/Chapter04
jsdoc --readme ./README.md --pedantic --recurse -c jsdoc.json -d network/out

[email protected] 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! [email protected] test: mocha network/test --recursive -t 4000
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant