Skip to content

Crash on first run #1

@Eloitor

Description

@Eloitor

I followed the instructions in the README:

  1. Clone the repository: git clone https://github.com/ebanDev/AnytypeCapture.git
  2. Navigate to the project directory: cd AnytypeCapture
  3. Install the required dependencies: npm install
  4. Create the .env file: touch .env
  5. Start the application: npm start

I'm on void linux.

👉 Enter the content: Hello
node:internal/modules/run_main:115
    triggerUncaughtException(
    ^

Error: 14 UNAVAILABLE: Failed to parse DNS address dns:127.0.0.1:NaN
    at callErrorFromStatus (/home/eloi/AnytypeCapture/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
    at Object.onReceiveStatus (/home/eloi/AnytypeCapture/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
    at Object.onReceiveStatus (/home/eloi/AnytypeCapture/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
    at Object.onReceiveStatus (/home/eloi/AnytypeCapture/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
    at /home/eloi/AnytypeCapture/node_modules/@grpc/grpc-js/build/src/resolving-call.js:129:78
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at ServiceClientImpl.makeUnaryRequest (/home/eloi/AnytypeCapture/node_modules/@grpc/grpc-js/build/src/client.js:161:32)
    at ServiceClientImpl.<anonymous> (/home/eloi/AnytypeCapture/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
    at node:internal/util:431:21
    at new Promise (<anonymous>)
    at ServiceClientImpl.<anonymous> (node:internal/util:417:12)
    at call (file:///home/eloi/AnytypeCapture/index.js:30:56)
    at fetchAppKey (file:///home/eloi/AnytypeCapture/index.js:44:32)
    at createAuthenticatedClient (file:///home/eloi/AnytypeCapture/index.js:33:37)
    at async file:///home/eloi/AnytypeCapture/index.js:93:30 {
  code: 14,
  details: 'Failed to parse DNS address dns:127.0.0.1:NaN',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}

Node.js v22.4.0

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