Hyperleger Indy-由于节点和NPM问题导致TheOrgBook模块构建失败

时间:2019-03-18 02:29:12

标签: node.js angular hyperledger blockchain hyperledger-indy

我已经在MacOS中成功部署了Hyperledger Indy SSI VC Demo的VON网络和许可模块。我在TheOrgBook设置中遇到问题。但是,即使尝试了GitHub Issue #26中建议的修补程序,TheOrgBook Demo也失败了。

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/opt/app-root/src/src'
ERROR in Error: Error encountered resolving symbol values statically. Could not resolve localize-router relative to /opt/app-root/src/src/app/app.module.ts., resolving symbol AppModule in /opt/app-root/src/src/app/app.module.ts, resolving symbol AppModule in /opt/app-root/src/src/app/app.module.ts, resolving symbol AppModule in /opt/app-root/src/src/app/app.module.ts

    npm ERR! code ELIFECYCLE

    npm ERR! Failed at the tob-web@0.0.1 postinstall script 'ng build --prod --base-href ${NG_BASE_HREF:-/} ${NG_BUILD_FLAGS:-} && cp dist/themes/_active/index.html dist/index.html'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the tob-web package,
    npm ERR! not with npm itself.

    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs tob-web
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls tob-web
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR!     /opt/app-root/src/npm-debug.log
    Build failed

1 个答案:

答案 0 :(得分:0)

错误的示例,请尝试这个link