Skip to content

oracledb prereqs not found for npm install loopback-oracle-connector #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ananthmkh opened this issue Jul 26, 2018 · 0 comments
Open

Comments

@ananthmkh
Copy link

Hi I used the dockerfile you had provided for creating docker image for my nodejs app(using loopback)

i appended below lines to the DockerFile you had shared to add my nodejs code.. at the step of "run npm install" am getting below-mentioned error message

WORKDIR app
COPY package.json .
RUN npm install
COPY . /app
CMD node server/server.js
EXPOSE 3000

Error:

Pre-packaged file http://7e9918db41dd01dbf98e-ec15952f71452bc0809d79c86f5751b6.r22.cf1.rackcdn.com/loopback-oracle-Linux-x64-abi57-2.1.0.tar.gz doesn't exist. Checking if user has installed pre-requisites offline as per instructions in https://github.com/oracle/node-oracledb/blob/master/INSTALL.md

**Oracledb pre-requisites not found. User needs to install pre-requisites for oracledb offline as per https://github.com/oracle/node-oracledb/blob/master/INSTALL.md and retry installing loopback-oracle-connector.**
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node pkginstall.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-07-26T11_38_32_405Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1
[root@kanrhel1 Susp_txns]# 

version used:
node:8.11 ( in Docker file used FROM node:8.11)
Docker version 1.13.1, build dded712/1.13.1
Docker is installed on RHEL 7.5 (Maipo)
Architecture: x86-64

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant