Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Issue while pushing the Node JS microservice using Teradata to PCF #41

@nayanaacharya

Description

@nayanaacharya

Getting the java error when trying to push the Node JS code to the PC.
The Node JS Code internally connects to the teradata to pull the table details.

I have added the reference of the package.json and the error which i am getting.

Error----

node-gyp rebuild
[node-java] Error: not found: javac
gyp: Call to 'node findJavaHome.js' returned exit status 1 while in binding.gyp.
while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/tmp/contents574403284/deps/0/node/
lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:160:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:209:12)

Package.json----
{
"name": "first_app",
"version": "1.0.0",
"description": "node app",
"author": "NA",
"contributors": "",
"dependencies": {
"java": "^0.9.0",
"body-parser": "^1.18.2",
"build-tools": "^7.2.4",
"cfenv": "^1.0.4",
"express": "^4.16.2",
"teradata": "^0.1.1"
},
"repository": {},
"main": "server1.js",
"engines": {
"node": "9.5.0"
},
"keywords": []
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions