-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
When running it for the first time:
(by the way, note the typo: ocurred)
$ npm start
> [email protected] start /home/qohelet/HL/hyperledger-typescript-boilerplate
> ts-node -r tsconfig-paths/register src/main.ts
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
[Nest] 120497 - 8/4/2020, 2:15:13 PM [NestFactory] Starting Nest application...
debug: NODE_ENV: LOCAL
debug: PORT: 3000
debug: DOMAIN_URL:
debug: AWS_ACCESS_KEY:
debug: AWS_SECRET_ACCESS_KEY:
debug: AWS_REGION:
debug: PEER_HOST: localhost
debug: ORDERER_HOST: localhost
debug: CA_HOST: localhost
debug: PUSHER_KEY: undefined
debug: PUSHER_APP_ID: undefined
debug: PUSHER_SECRET: undefined
debug: PUSHER_CLUSTER: undefined
debug: AUTH0_CLIENT_ID: undefined
debug: AUTH0_CLIENT_SECRET: undefined
debug: AUTH0_DOMAIN: undefined
debug: AUTH0_AUDIENCE: undefined
debug: LOGGER_SQS_DEBUG: false
debug: SKIP_MIDDLEWARE: false
[Nest] 120497 - 8/4/2020, 2:15:13 PM [InstanceLoader] ApplicationModule dependencies initialized +14ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [InstanceLoader] EventsModule dependencies initialized +1ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [InstanceLoader] PingModule dependencies initialized +1ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [InstanceLoader] ChainModule dependencies initialized +1ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [InstanceLoader] AuthenticationModule dependencies initialized +0ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [InstanceLoader] CoreModule dependencies initialized +0ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [InstanceLoader] CarModule dependencies initialized +0ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [RoutesResolver] PingController {/}: +27ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [RouterExplorer] Mapped {/, GET} route +2ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [RoutesResolver] CarController {/cars}: +0ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [RouterExplorer] Mapped {/, GET} route +0ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [RouterExplorer] Mapped {/:id, GET} route +0ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [RouterExplorer] Mapped {/, POST} route +1ms
[Nest] 120497 - 8/4/2020, 2:15:13 PM [NestApplication] Nest application successfully started +1ms
info: Started Chain-service on PORT 3000
FileKeyValueStore {
_dir: '/home/qohelet/HL/hyperledger-typescript-boilerplate/src/common/config/creds'
}
info: Successfully instantiated HLF Client
error: Error ocurred during connection hlf: Could not parse enrollment response [Client sent an HTTP request to an HTTPS server.
] as JSON due to error [SyntaxError: Unexpected token C in JSON at position 0
at JSON.parse (<anonymous>)
at IncomingMessage.<anonymous> (/home/qohelet/HL/hyperledger-typescript-boilerplate/node_modules/fabric-ca-client/lib/FabricCAClient.js:461:24)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:483:12)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)]
Metadata
Metadata
Assignees
Labels
No labels