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.

Fresh install - news feed error

See original GitHub issue

Hi, when I run install, I get this warning:

warning fsevents@1.0.15: The platform "win32" is incompatible with this module.
info "fsevents@1.0.15" is an optional dependency and failed compatibility check. Excluding it from installation.

Then when I run the app (I changed the port to 3030), I get this:

[15:29:00] The server is running at http://localhost:3030/
[BS] Proxying: http://localhost:3030
[BS] Access URLs:
 -------------------------------------
       Local: http://localhost:3002
    External: http://10.254.8.121:3002
 -------------------------------------
          UI: http://localhost:3003
 UI External: http://10.254.8.121:3003
 -------------------------------------
[15:29:01] Finished 'start' after 13134 ms

http://localhost:3002/ shows this:

Error
Failed to load the news feed.
Error: Failed to load the news feed.
    at Object._callee$ (c:\web\BMonitor\webdev\src_nodejs\kpi-bridge-report\build\webpack:\src\routes\home\index.js:19:1)
    at tryCatch (c:\web\BMonitor\webdev\src_nodejs\kpi-bridge-report\node_modules\regenerator-runtime\runtime.js:64:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (c:\web\BMonitor\webdev\src_nodejs\kpi-bridge-report\node_modules\regenerator-runtime\runtime.js:355:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (c:\web\BMonitor\webdev\src_nodejs\kpi-bridge-report\node_modules\regenerator-runtime\runtime.js:116:21)
    at step (c:\web\BMonitor\webdev\src_nodejs\kpi-bridge-report\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
    at c:\web\BMonitor\webdev\src_nodejs\kpi-bridge-report\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:13

And in CLI:

Error: Failed to load the news feed.

  - index.js:19 Object._callee$
    c:/web/BMonitor/webdev/src_nodejs/kpi-bridge-report/build/webpack:/src/route    s/home/index.js:19:1

  - runtime.js:64 tryCatch
    [kpi-bridge-report]/[regenerator-runtime]/runtime.js:64:40

  - runtime.js:355 GeneratorFunctionPrototype.invoke [as _invoke]
    [kpi-bridge-report]/[regenerator-runtime]/runtime.js:355:22

  - runtime.js:116 GeneratorFunctionPrototype.prototype.(anonymous function) [as     next]
    [kpi-bridge-report]/[regenerator-runtime]/runtime.js:116:21

  - asyncToGenerator.js:17 step
    [kpi-bridge-report]/[babel-runtime]/helpers/asyncToGenerator.js:17:30

  - asyncToGenerator.js:28
    [kpi-bridge-report]/[babel-runtime]/helpers/asyncToGenerator.js:28:13

Any ideas what to do, please? Is this News feed error related to the missing dependency?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
hygkuicommented, Dec 29, 2016

if you just want it to run without an async request, you can try this:

    // const resp = await fetch('/graphql', {
    //   method: 'post',
    //   headers: {
    //     Accept: 'application/json',
    //     'Content-Type': 'application/json',
    //   },
    //   body: JSON.stringify({
    //     query: '{news{title,link,contentSnippet}}',
    //   }),
    //   credentials: 'include',
    // });
    // const { data } = await resp.json();
    const data = {
      news: [
        {
          title: 'new title',
          link: '/about',
          contentSnippet: 'balba',
        }
      ]
    }
    // if (!data || !data.news) throw new Error('Failed to load the news feed.');

Get it go~

0reactions
ulanicommented, May 27, 2021

@jakub-astrahit thank you very much for crating this issue! Unfortunately, we have close it due to inactivity. Feel free to re-open it or join our Discord channel for discussion.

NOTE: The main branch has been updated with React Starter Kit v2, using JAM-style architecture.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facebook News Feed Not Working? 10 Ways to Fix! - Dr.Fone
This article presents unique solutions to fix the Facebook news feed not ... Click on the “Cloud” icon across the app to install...
Read more >
[Solved] Fix: Facebook News Feed Not Working
To do it, uninstall the Facebook app from your device. Then, head over to your app store and download and install the app...
Read more >
Facebook News Feed Not Working: Quick Fix
Have you encountered the Facebook News Feed not working issue? Delete the browser cookies and cache in order to fix this problem.
Read more >
How to Fix Facebook News feed Not Showing Problem in ...
In this video, we will show you how to fix Facebook news feed not updating problem in Android.Method 1: Verify Your Internet Connection....
Read more >
How to Fix Facebook News Feed Not Loading [2022 ...
To do this, uninstall first the Facebook app from your mobile device. Go to the App Store or Play Store.
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