Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: [ 'Encountered error registering user: ' ] #905

Open
kc01-8 opened this issue Oct 15, 2023 · 1 comment
Open

error: [ 'Encountered error registering user: ' ] #905

kc01-8 opened this issue Oct 15, 2023 · 1 comment

Comments

@kc01-8
Copy link

kc01-8 commented Oct 15, 2023

$ node ./build/src/discordas.js
warning Cannot find a suitable global folder. Tried these: "/usr/local, /home/africa/.yarn"
Oct-14 23:26:44.410 [DiscordStore] warn: Couldn't fetch schema version, defaulting to 0
Oct-14 23:26:44.462 [DiscordStore] warn: NOT backing up database while a file already exists
Oct-14 23:27:45.929 [bot-sdkMatrixHttpClient] error: [
  '(REQ-1)',
  Error: ETIMEDOUT
      at Timeout.<anonymous> (/home/africa/matrix-appservice-discord-develop/node_modules/request/request.js:848:19)
      at listOnTimeout (node:internal/timers:573:17)
      at processTimers (node:internal/timers:514:7) {
    code: 'ETIMEDOUT',
    connect: true
  }
]
Oct-14 23:27:45.931 [bot-sdkAppservice] error: [ 'Encountered error registering user: ' ]
Oct-14 23:27:45.932 [bot-sdkAppservice] error: [
  Error: ETIMEDOUT
      at Timeout.<anonymous> (/home/africa/matrix-appservice-discord-develop/node_modules/request/request.js:848:19)
      at listOnTimeout (node:internal/timers:573:17)
      at processTimers (node:internal/timers:514:7) {
    code: 'ETIMEDOUT',
    connect: true
  }
]
Oct-14 23:27:45.932 [DiscordAS] error: A fatal error occurred during startup: Error: ETIMEDOUT
    at Timeout.<anonymous> (/home/africa/matrix-appservice-discord-develop/node_modules/request/request.js:848:19)
    at listOnTimeout (node:internal/timers:573:17)
    at processTimers (node:internal/timers:514:7) {
  code: 'ETIMEDOUT',
  connect: true
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Happening after I run yarn start

@Mrs-Feathers
Copy link

looks like it was run with the "node" command instead of "yarn." it looks like the error is looking for the yarn executable and not finding it. you may need to run "yarn global bin" and export that as part of your path before running it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants