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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: node-appwrite(v11.0.0) sdk called os.type, but this function did not exist. #6216

Open
2 tasks done
usamashafiqs opened this issue Sep 11, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@usamashafiqs
Copy link

馃憻 Reproduction steps

Screenshot 2023-09-11 184758

馃憤 Expected behavior

It should connect to the AppWrite backend.

馃憥 Actual Behavior

It is actually not connecting to the backend.

馃幉 Appwrite version

Version 1.4.x

馃捇 Operating system

Windows

馃П Your Environment

No response

馃憖 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?

@usamashafiqs usamashafiqs added the bug Something isn't working label Sep 11, 2023
@stnguyen90
Copy link
Contributor

@usamashafiqs, thanks for raising this issue! 馃檹馃徏 Would you please provide more context about where this code is running?

@stnguyen90 stnguyen90 self-assigned this Sep 11, 2023
@usamashafiqs
Copy link
Author

usamashafiqs commented Sep 15, 2023

@stnguyen90, This code is running in the browser.
v9.0.0 is working fine.

@stnguyen90
Copy link
Contributor

@usamashafiqs, would you please try using version 13.0.0 of the appwrite package instead of the node-appwrite package?

@usamashafiqs
Copy link
Author

@stnguyen90 I was connecting with an API key; Standerd Appwrite package didn't have an API key option.

@stnguyen90
Copy link
Contributor

@usamashafiqs, no, it is by design. You should not be using an API key client-side because that leaks your key to the world. Nothing client side can be kept secret.

@usamashafiqs
Copy link
Author

@stnguyen90 I am using Traefik ForwardAuth to protect the app; it is an internal tool.

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

2 participants