Hi - I’m trying to get up and running but have come across this error after running ‘npm start’ in my second terminal instance:
/Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/react-scripts/scripts/start.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:135:10)
at module.exports (/Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/webpack/lib/NormalModule.js:417:16)
at /Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/webpack/lib/NormalModule.js:452:10
at /Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/webpack/lib/NormalModule.js:323:13
at /Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /Users/sonjaparsell/Development/DAML/create-daml-app/ui/node_modules/babel-loader/lib/index.js:59:103 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
I’m also not confident the sandbox has properly started:
Waiting for sandbox to start:
12:36:31.700 [sandbox-akka.actor.default-dispatcher-4] INFO akka.event.slf4j.Slf4jLogger - Slf4jLogger started
12:36:36.725 [program-resource-pool-2] INFO c.d.p.apiserver.LedgerApiServer - Listening on localhost:6865 over plain text.
____ ____
/ __/__ ____ ___/ / / ___ __ __
_\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
/___/\_,_/_//_/\_,_/_.__/\___/_\_\
12:36:36.753 [program-resource-pool-3] INFO com.daml.platform.sandboxnext.Runner - Initialized sandbox version 1.18.1 with ledger-id = create-daml-app-sandbox, port = 6865, dar file = List(.daml/dist/create-daml-app-0.1.0.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = strong
Waiting for JSON API to start:
10-03-2022 17:36:37.867 [main] INFO com.daml.http.Main - Config(ledgerHost=localhost, ledgerPort=6865, address=127.0.0.1, httpPort=7575, portFile=None, packageReloadInterval=5 seconds, packageMaxInboundMessageSize=None, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,None,REQUIRE,false,None), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, wsConfig=None, nonRepudiationCertificateFile=None, nonRepudiationPrivateKeyFile=None, nonRepudiationPrivateKeyAlgorithm=None, surrogateTpIdCacheMaxEntries=None), context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:38.149 [http-json-ledger-api-akka.actor.default-dispatcher-4] INFO akka.event.slf4j.Slf4jLogger - Slf4jLogger started
10-03-2022 17:36:38.345 [http-json-ledger-api-akka.actor.default-dispatcher-4] INFO com.daml.http.HttpService - HTTP Server pre-startup, context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:38.582 [http-json-ledger-api-akka.actor.default-dispatcher-4] INFO com.daml.http.LedgerClient - Attempting to connect to the ledger localhost:6865 (600 attempts), context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:38.876 [http-json-ledger-api-akka.actor.default-dispatcher-4] INFO com.daml.http.LedgerClient - Attempt 1/600 succeeded!, context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:38.878 [http-json-ledger-api-akka.actor.default-dispatcher-20] INFO com.daml.http.LedgerClient - Attempting to connect to the ledger localhost:6865 (600 attempts), context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:38.879 [http-json-ledger-api-akka.actor.default-dispatcher-18] INFO com.daml.http.LedgerClient - Attempt 1/600 succeeded!, context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:38.881 [http-json-ledger-api-akka.actor.default-dispatcher-18] INFO com.daml.http.HttpService - contractDao: None, context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:39.490 [http-json-ledger-api-akka.actor.default-dispatcher-17] INFO com.daml.http.Main - Started server: (ServerBinding(/127.0.0.1:7575),None), context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901"}
10-03-2022 17:36:39.907 [http-json-ledger-api-akka.actor.default-dispatcher-20] INFO com.daml.http.Endpoints - Incoming GET request on http://localhost:7575/v1/query from unknown, context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901", request_id: "1905c5f8-93f4-47de-be3b-9c941c4ec8ea"}
10-03-2022 17:36:40.148 [http-json-ledger-api-akka.actor.default-dispatcher-20] INFO com.daml.http.Endpoints - Responding to client with HTTP 200 OK, context: {instance_uuid: "a014d81c-88ad-4b55-987f-3fcebefdc901", request_id: "1905c5f8-93f4-47de-be3b-9c941c4ec8ea"}
Any guidance would be appreciated!