Skip to content

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

@ananthmkh

Description

@ananthmkh

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! loopback-oracle-installer@3.0.1 install: `node pkginstall.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the loopback-oracle-installer@3.0.1 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

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions