8000 🐛 Bug Report: Cannot read properties of undefined (reading 'replace') · Issue #7284 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 Bug Report: Cannot read properties of undefined (reading 'replace') #7284

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

Closed
2 tasks done
kazi331 opened this issue Dec 14, 2023 · 7 comments
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@kazi331
Copy link
kazi331 commented Dec 14, 2023

👟 Reproduction steps

I tried to login/register users following this doc and I'm getting this error all the time.

Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at Client.setEndpoint (appwrite.js?v=03a17f90:707:89)
    at appwrite.js:6:6

Screenshot from 2023-12-14 15-42-00

👍 Expected behavior

a new account should be logged in

👎 Actual Behavior

 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at Client.setEndpoint (appwrite.js?v=03a17f90:707:89)
    at appwrite.js:6:6

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

"appwrite": "^13.0.1",

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@kazi331 kazi331 added the bug Something isn't working label Dec 14, 2023
@stnguyen90 stnguyen90 self-assigned this Dec 14, 2023
@stnguyen90
Copy link
Contributor

@kazi331, thanks for creating this issue! 🙏🏼 Please double check your endpoint is set. Perhaps you can console.log(client.config.endpoint) to make sure.

< 8000 /task-lists>

@kazi331 kazi331 closed this as completed Dec 14, 2023
@sameermakwana19
Copy link

I had same problem in one of my projects .
solution : Check where you have created the '.env.local' file , if it's inside src folder just move it out of src .

@naganikshith04
Copy link

Did you solve the problem?

@kazi331
Copy link
Author
kazi331 commented Dec 30, 2023

Did you solve the problem?

Yes,

@Samrudh713
Copy link

May I know how you solved the error, in case you have

@edrickalema
Copy link

Facing the same error here!

@Akchhya
Copy link
Akchhya commented Jul 28, 2024

facing the same problem , but placing it out of src aint working @sameermakwana19 any other solutions??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants
0