Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Connecting NodeJS/Express to Application Container

edited Oct 15, 2018 11:15PM in Visual Builder Studio 2 comments

Summary

Unable to provision application container with my application files. The command "npm start" does not work

Content

Hi there, I am new to Oracle Application container. I need to upload my application (a website I built using express/nodeJS) to the cloud, but I can't get pass the instance provisioning stage. I use Express application generator (https://expressjs.com/en/starter/generator.html) for my file directory. On localhost, I start my application with "npm start", which runs a file called "www" in the "bin" folder (in the image I attached). This www file is also where I run server-related code, such as server.listen(port). The application works on my local ports, but does not work when I try to deploy it to the application container online.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!