node.js - openshift with nodejs isn't respecting the path to my server file in package.json -


i have been working on node.js server , uploading openshift. not using default ./server.js file, rather, insertion point ./bin/www.

i have set insertion file in package.json so:

{   "name": "nekolist",   "version": "0.0.0",   "private": true,   "scripts": {     "start": "./bin/www" ... }, 

i can verify www in ./bin directory, , valid javascript file functions on local environment.

this according here

however, can tell logs openshift still trying find ./server.js

what might going on here? other information can post helpful?

note: related problem in this thread, but, when realized problem not dependency issue, decided create new thread real issue.

you using "scripts" property, on openshift need use "main" instead. because openshift uses node-supervisor startup , manage node.js application.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -