TypeError: cannot read property 'signUp' #670
Unanswered
Shredcer10000000000
asked this question in
Questions
Replies: 1 comment 4 replies
-
Hi @Shredcer10000000000, looks like the Supabase JS library has not been included in the page. Are you using the embed component to do it? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to set up signup through integrating supabase with webflow. I'm using the signup code block from the supabase dashboard. I'm receiving the error:
Uncaught (in promise) TypeError: Cannot read property 'signUp' of undefined
at HTMLInputElement.signup
Here is the code:
<script> joinButton.addEventListener('click', signup); async function signup() { joinButton.style.display = 'none'; joinError.style.display = 'none'; var email = joinEmail.value; var password = joinPassword.value; let { user, error } = await supabase.auth.signUp({ email: '[email protected]', password: 'example-password' }).catch(function (error) { console.log(error); }) }; </script>Beta Was this translation helpful? Give feedback.
All reactions