Skip to content

TypeError: Cannot read property 'split' of undefined #755

Answered by paulomarg
davesaloria asked this question in Q&A
Discussion options

You must be logged in to vote

Hey everyone! That error could be due to a number of different reasons, but if you just checked out this repo and ran it, it is possible that you're missing a .env file, which will need the following values:

SHOPIFY_API_KEY=<key>
SHOPIFY_API_SECRET=<secret key>
SCOPES=<the scopes your app needs>
HOST=<your app's ngrok address>

If this isn't the issue you're facing, can you please share the code from server.js around the error, so we can see if it is a bug in the app?

Hope this helps!

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JaKXz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ronnythedev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants
Converted from issue

This discussion was converted from issue #589 on March 30, 2022 15:20.