๐ Bug Report:
vitusan opened this issue ยท 1 comments
๐ Reproduction steps
install appwrite web sdk or the angular web sdk wrapper (ngx-appwrite);
follow configuration from tutorial at https://appwrite.io/docs/quick-starts/angular;
run ng s;
get error when loading page;
๐ Expected behavior
Not present the error.
๐ Actual Behavior
Found same issue here https://appwrite.io/threads/1279972579033219134
4:21:55 PM [vite] Internal server error: Cannot read properties of undefined (reading 'replace')
at Client.setEndpoint (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app.angular\cache\18.2.6\vite\deps_ssr\chunk-QDVDZWYS.js:258:89)
at eval (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app.angular\cache\18.2.6\vite\deps_ssr\ngx-appwrite.js:5475:14)
at _ApplicationInitStatus.runInitializers (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app.angular\cache\18.2.6\vite\deps_ssr\chunk-E6GZ4TPX.js:21108:26)
at eval (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app.angular\cache\18.2.6\vite\deps_ssr\chunk-E6GZ4TPX.js:22281:18)
at _callAndReportToErrorHandler (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app.angular\cache\18.2.6\vite\deps_ssr\chunk-E6GZ4TPX.js:21177:20)
at eval (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app.angular\cache\18.2.6\vite\deps_ssr\chunk-E6GZ4TPX.js:22279:12)
at _ZoneDelegate.invoke (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app\node_modules.pnpm\zone.js@0.14.10\node_modules\zone.js\fesm2015\zone-node.js:369:28)
at Object.onInvoke (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app.angular\cache\18.2.6\vite\deps_ssr\chunk-E6GZ4TPX.js:6817:25)
at _ZoneDelegate.invoke (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app\node_modules.pnpm\zone.js@0.14.10\node_modules\zone.js\fesm2015\zone-node.js:368:34)
at ZoneImpl.run (C:\Users\bode\Documents\repos\aazt\aaz-telecom-referral-app\node_modules.pnpm\zone.js@0.14.10\node_modules\zone.js\fesm2015\zone-node.js:111:43)
๐ฒ Appwrite version
Different version (specify in environment)
๐ป Operating system
Windows
๐งฑ Your Environment
Self hosted version 1.5.
๐ 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?
- I have read the Code of Conduct
Hey, can you share which version of the SDK this is? You should be able to find it in your node_modules
If you haven't already, it might be worth trying to update to the latest version