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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'match' of undefined #1

Open
byeblogs opened this issue Aug 25, 2019 · 0 comments
Open

TypeError: Cannot read property 'match' of undefined #1

byeblogs opened this issue Aug 25, 2019 · 0 comments

Comments

@byeblogs
Copy link

Hii, i try using your boilerplate.. so far build with this boilerplate is okay, but sometimes i got error like this..

TypeError: Cannot read property 'match' of undefined at Function.match [as loadData] (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/src/pages/ProductDetail/index.js:16:59) at loadData (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/src/server.js:58:23) at Array.map (<anonymous>) at map (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/src/server.js:57:6) at getLoadBranchData (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/src/server.js:157:26) at tryCatch (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/node_modules/regenerator-runtime/runtime.js:45:40) at Generator.invoke [as _invoke] (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/node_modules/regenerator-runtime/runtime.js:271:22) at Generator.prototype.<computed> [as next] (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/node_modules/regenerator-runtime/runtime.js:97:21) at asyncGeneratorStep (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/src/server.js:66:103) at _next (/Users/mac/Documents/Workspace_Air/###polosan.bandung.v.4.0/src/server.js:68:194)

when trying to get 'http://localhost:2525/product-detail/8' <!-- which is when first load i have no problem, but when i try to load page.. i've got an error like above..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant