HyperLedger Composer:未处理的错误

问题描述 投票:1回答:1

我在HyperLedger控制台中收到以下错误:

 Browse your REST API at http://localhost:3000/explorer
    Unhandled error for request GET /bootstrap.min.css.map: Error: Cannot GET /bootstrap.min.css.map
        at raiseUrlNotFoundError (/usr/local/lib/node_modules/composer-rest-server/node_modules/loopback/server/middleware/url-not-found.js:21:17)
        at Layer.handle [as handle_request] (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/layer.js:95:5)
        at trim_prefix (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:317:13)
        at /usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:284:7
        at Function.process_params (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:335:12)
        at next (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:275:10)
        at /usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:635:15
        at next (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:260:14)
        at Function.handle (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:174:3)
        at router (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:47:12)
        at Layer.handle [as handle_request] (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/layer.js:95:5)
        at trim_prefix (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:317:13)
        at /usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:284:7
        at Function.process_params (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:335:12)
        at next (/usr/local/lib/node_modules/composer-rest-server/node_modules/express/lib/router/index.js:275:10)
        at urlencodedParser (/usr/local/lib/node_modules/composer-rest-server/node_modules/body-parser/lib/types/urlencoded.js:91:7)

在提交表单时,我没有收到Angular前端抛出的错误。

我是HyperLedger作曲家和Angular的新手。

请帮忙。

angularjs hyperledger-composer
1个回答
0
投票

我认为问题在于生成的Angular应用程序的代理配置。我有同样的问题,我能够通过编辑位于Angular应用程序路径中的proxy.conf.js文件来解决它。

请参考这个answer

© www.soinside.com 2019 - 2024. All rights reserved.