Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Connecting NodeJS/Express to Application Container — Cloud Customer Connect
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

Received Response
13
Views
2
Comments
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!