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

ThinQApp not running #2

Open
gnowgi opened this issue Jun 27, 2020 · 2 comments
Open

ThinQApp not running #2

gnowgi opened this issue Jun 27, 2020 · 2 comments

Comments

@gnowgi
Copy link

gnowgi commented Jun 27, 2020

TypeError: Cannot read property 'node' of undefined at /home/nagarjun/dev/ThinQ-Examples/ThinQApp/src/router.js:10:17 at Layer.handle [as handle_request] (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/layer.js:95:5) at next (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/layer.js:95:5) at /home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:335:12) at next (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:275:10) at Function.handle (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:174:3) at router (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:47:12) at Layer.handle [as handle_request] (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:317:13) at /home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:284:7 at Function.process_params (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:335:12) at next (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/express/lib/router/index.js:275:10) at SendStream.error (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/serve-static/index.js:121:7) at SendStream.emit (events.js:198:13) at SendStream.error (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/send/index.js:270:17) at SendStream.onStatError (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/send/index.js:421:12) at next (/home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/send/index.js:763:28) at /home/nagarjun/dev/ThinQ-Examples/ThinQApp/node_modules/send/index.js:771:23 at FSReqWrap.oncomplete (fs.js:153:21)

@coderjedi
Copy link
Collaborator

coderjedi commented Jun 28, 2020

This happens when we try to access the app's url before IPFS node has started running.After running the command 'npm run start', it takes a few seconds for the IPFS node to get initialzed. After this has completed, you would see messages like "Swarm listening on..." and statements for creation of database tables in the terminal.After this the app should work fine.

@gnowgi
Copy link
Author

gnowgi commented Jul 3, 2020

This is the current error:

(node:26436) UnhandledPromiseRejectionWarning: Error: Couldn't listen on any of the servers

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

2 participants