question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot read property 'data' of undefined

See original GitHub issue

Please help, i don’t know where is my error… It’s when i try to deploy my site gatsby with netlify

3:58:01 PM: error Plugin gatsby-source-wordpress returned an error 3:58:01 PM: 3:58:01 PM: TypeError: Cannot read property ‘data’ of undefined 3:58:01 PM:
3:58:01 PM: - fetch.js:148 3:58:01 PM: [repo]/[gatsby-source-wordpress]/fetch.js:148:23 3:58:01 PM:
3:58:01 PM: - Generator.throw 3:58:01 PM:
3:58:01 PM: - next_tick.js:68 process._tickCallback 3:58:01 PM: internal/process/next_tick.js:68:7 3:58:01 PM:
3:58:01 PM: 3:58:04 PM: failed during stage ‘building site’: Build script returned non-zero exit code: 1 3:58:01 PM: Skipping functions preparation step: no functions directory set 3:58:01 PM: Caching artifacts 3:58:04 PM: Shutting down logging, 15 messages pending`

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
freiksenetcommented, Jun 25, 2019

I’m going to close this issue, as apparently it’s been resolved 😃 Feel free to open it again if you have any more questions.

Thank you for using Gatsby! 💜 💪

1reaction
freiksenetcommented, Jun 20, 2019
1:36:50 PM: 
1:36:50 PM: The request failed with error code "ECONNREFUSED"

This means you don’t have a wordpress instance running at that location. I see it’s a localhost location - you need to change this URL to your deployed wordpress instance when publishing at Netlify.

Read more comments on GitHub >

github_iconTop Results From Across the Web

angularjs - typeerror cannot read property 'data' of undefined
This error comes because there is no property of name data in your class. $scope.gridOptions. this class ...
Read more >
TypeError: Cannot read property 'data' of undefined
catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/ ...
Read more >
Cannot read property 'data' of undefined
Cannot read property 'data' of undefined TypeError: Cannot read property 'data' of undefined at http://jira.
Read more >
Cannot read property 'data' of undefined in React web
Like Nuno said, it means that the JavaScript running on the device / browser is acting on invalid elements. In another words, this...
Read more >
How to Prevent the Error: Cannot Read Property '0' of Undefined
The Cannot read property xxx of undefined error is one such example. In particular, the Cannot read property 'n' of undefined (where n...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found