Comments (5)
Try changing the command:
in the manifest.yml
file to:
command: node server.js
from discovery-nodejs.
Hi @germanattanasio I have applied the suggestion you mention to the manifest.yml file. However, it has not fixed the issue. I get the following in the browser;
502 Bad Gateway: Registered endpoint failed to handle the request.
And the following in the cloud application logs;
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR RangeError: Invalid status code: ENOENT
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at ServerResponse.writeHead (_http_server.js:194:11)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at ServerResponse.writeHead (/home/vcap/app/node_modules/on-headers/index.js:55:19)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at ServerResponse._implicitHeader (_http_server.js:185:8)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at write_ (_http_outgoing.js:632:9)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at ServerResponse.end (_http_outgoing.js:751:5)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at ServerResponse.send (/home/vcap/app/node_modules/express/lib/response.js:221:10)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at ServerResponse.json (/home/vcap/app/node_modules/express/lib/response.js:267:15)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at app.use (/home/vcap/app/config/error-handler.js:17:28)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at Layer.handle_error (/home/vcap/app/node_modules/express/lib/router/layer.js:71:5)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]ERR at trim_prefix (/home/vcap/app/node_modules/express/lib/router/index.js:315:13)
2018-11-02T23:17:13.01+0000 [APP/PROC/WEB/0]OUT GET / 500 10.660 ms - 148
from discovery-nodejs.
I'm going to spend some time this weekend and let you know what I find
from discovery-nodejs.
Sorry the updated code does not seem to fix the issue. Still seeing the errors above when I try and open the initial app page.
from discovery-nodejs.
🎉 This issue has been resolved in version 1.0.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
from discovery-nodejs.
Related Issues (12)
- Can't deploy to cloud HOT 3
- can't deploy app to cloud HOT 4
- a
- Error: Request to Query service was timed out since a response was not received within 20 seconds. HOT 1
- Pain points with "View Query" HOT 1
- Change titles for consistency HOT 3
- Trying to Deploy on BlueMix by Pressing button on ReadMe fails with the following errors HOT 2
- Not Authorized error When searching in discovery-nodejs from localhost HOT 2
- react-scripts ENOENT HOT 6
- Odd behavior when loading the demo from various sites HOT 2
- Add telium HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discovery-nodejs.