Giter Club home page Giter Club logo

openshift-express4's Introduction

openshift-express4

An Example for using Express 4 with Openshift

This is a blank template project. It is derived from express4 generator template project and openshift default project.

Just clone the repo ! :)

openshift-express4's People

Contributors

a7ul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

openshift-express4's Issues

It doesn't work

node.js version latest (6.3.1)

Tried to deploy using web console and got this error:

Stopping Node.js application...
Node.js v6.3.1 and NPM 3.10.6 installed.
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 57b0bd070c1e6692ed000163 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c2,c662' /bin/sh -c \"gear prereceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=143

.Last 10 kB of build output:
[eval]:1
var p = require('/var/lib/openshift/57b0bd070c1e6692ed000163/app-root/runtime/repo//package.json'); console.log(p.scripts.start);
                                                                                                                         ^

TypeError: Cannot read property 'start' of undefined
    at [eval]:1:122
    at ContextifyScript.Script.runInThisContext (vm.js:25:33)
    at Object.exports.runInThisContext (vm.js:77:17)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:541:32)
    at bootstrap_node.js:315:29
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
[eval]:1
var p = require('/var/lib/openshift/57b0bd070c1e6692ed000163/app-root/runtime/repo//package.json'); console.log(p.scripts.stop || '');
                                                                                                                         ^

TypeError: Cannot read property 'stop' of undefined
    at [eval]:1:122
    at ContextifyScript.Script.runInThisContext (vm.js:25:33)
    at Object.exports.runInThisContext (vm.js:77:17)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:541:32)
    at bootstrap_node.js:315:29
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
SIGTERM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.