Skip to content

npm run test error #63

@djdubeyji

Description

@djdubeyji

~/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions