debianmaster / microservices-on-openshift

This project demonstrates how we can deploy micro services built in different languages can deployed on openshift
53 stars 152 forks source link

error build userregsvc #6

Open fajarfathurrahman opened 5 years ago

fajarfathurrahman commented 5 years ago

hi i got error when try to built userregsvc, i am using ocp 3.11.59

here is the log: ` Using docker-registry.default.svc:5000/openshift/nodejs@sha256:9dce2f60b87b2eea351213c3d142716c0a70c894df8b3d2d4425b4933b8f6221 as the s2i builder image ---> Installing application source ---> Building your Node application from source Current git config url.https://github.com.insteadof=git@github.com: url.https://.insteadof=ssh:// url.https://github.com.insteadof=ssh://git@github.com ---> Installing dependencies

console.log(require('./package.json').scripts.build ? true : false) ^

TypeError: Cannot read property 'build' of undefined at eval:1:46 at Script.runInThisContext (vm.js:122:20) at Object.runInThisContext (vm.js:329:38) at Object. (eval-wrapper:6:22) at Module._compile (internal/modules/cjs/loader.js:776:30) at evalScript (internal/bootstrap/node.js:589:27) at startup (internal/bootstrap/node.js:265:9) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) error: build error: non-zero (13) exit code from docker-registry.default.svc:5000/openshift/nodejs@sha256:9dce2f60b87b2eea351213c3d142716c0a70c894df8b3d2d4425b4933b8f6221 `

debianmaster commented 5 years ago

this repo is kinda of outdated. and no longer maintained. you mind sending a pull request if it works for you?