Skip to content

Commit 719b595

Browse files
committed
fixing textdecoder error
1 parent bff18c1 commit 719b595

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ RUN sed -i '/jessie-updates/d' /etc/apt/sources.list
88
RUN apt-get -qq update && apt-get -qq install -y \
99
wget gcc g++ make xz-utils python2.7 git curl
1010

11-
#RUN wget -q -O node8.tar.xz https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-x64.tar.xz \
12-
# && tar xfJ node8.tar.xz && rm -rf node8.tar.xz
11+
RUN wget -q -O node8.tar.xz https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-x64.tar.xz \
12+
&& tar xfJ node8.tar.xz && rm -rf node8.tar.xz
1313

14-
RUN wget -q -O node11.tar.xz https://nodejs.org/dist/v11.15.0/node-v11.15.0-linux-x64.tar.xz \
15-
&& tar xfJ node11.tar.xz && rm -rf node11.tar.xz
14+
# RUN wget -q -O node11.tar.xz https://nodejs.org/dist/v11.15.0/node-v11.15.0-linux-x64.tar.xz \
15+
# && tar xfJ node11.tar.xz && rm -rf node11.tar.xz
1616

1717
ENV SERVERNAME=$servername
1818
ENV INFORMIXDIR /opt/IBM/informix
@@ -31,7 +31,7 @@ RUN echo "informixoltp_tcp onsoctcp ${SERVERNAME:-informix}
3131
> ${INFORMIXDIR}/etc/sqlhosts.informixoltp_tcp
3232

3333

34-
ENV PATH /home/informix/node-v11.15.0-linux-x64/bin:${INFORMIXDIR}/bin:${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql:${PATH}
34+
ENV PATH /home/informix/node-v8.11.3-linux-x64/bin:${INFORMIXDIR}/bin:${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql:${PATH}
3535
ENV LD_LIBRARY_PATH ${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql:${INFORMIXDIR}/lib/cli
3636
ENV INFORMIXSQLHOSTS ${INFORMIXDIR}/etc/sqlhosts.informixoltp_tcp
3737
ENV USER root

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"url": "latest",
3535
"https": "latest",
3636
"nodemon": "latest",
37-
"topcoder-healthcheck-dropin": "^1.0.3"
37+
"topcoder-healthcheck-dropin": "^1.0.3",
38+
"util": "latest"
3839
},
3940
"devDependencies": {
4041
"chai": "^4.2.0",

src/common/dbmigratefunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = require('config');
2-
2+
const TextDecoder = require('util').TextDecoder;
33
async function pgfetchdatatype(client, schemaname, tablename) {
44
try {
55
console.log("retriving data type ------")

0 commit comments

Comments
 (0)