Back

Issue Encountered Running npm run dev in Appwrite Console Repository

  • 0
  • Auth
  • Web
Nick
27 Jun, 2024, 15:05

Hi, good morning or evening I hope you're having a great day. I was working on issue #1153 while trying to recreate the bug. I encountered a problem running npm run dev in the Appwrite Console repository. Additionally, when I access localhost/register, I'm unable to create a new user

TypeScript
 npm run dev

> dev
> vite dev


  VITE v5.2.12  ready in 1047 ms

  ➜  Local:   http://localhost:3000/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
SvelteKitError: Not found: /v1/account
    at resolve (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/respond.js:522:13)
    at resolve (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/respond.js:322:5)
    at #options.hooks.handle (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/index.js:71:56)
    at Module.respond (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/respond.js:319:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 404,
  text: 'Not Found'
}
SvelteKitError: Not found: /v1/account
    at resolve (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/respond.js:522:13)
    at resolve (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/respond.js:322:5)
    at #options.hooks.handle (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/index.js:71:56)
    at Module.respond (/home/typecrap/Work/console/node_modules/@sveltejs/kit/src/runtime/server/respond.js:319:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 404,
  text: 'Not Found'
}
TL;DR
Issue: Encountered error running npm run dev in Appwrite Console repository, unable to create new user at localhost/register. Error Message: SvelteKitError: Not found: /v1/account Solution: Ensure Appwrite backend container is spun up, follow steps in CONTRIBUTING.md for environment variables setup.
darShan
27 Jun, 2024, 15:07

Hey πŸ‘‹, Did you also spin up the appwrite backend container?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more