Closed
Description
When running the module in a Docker container using this config:
FROM mhart/alpine-node:8.1.4
RUN apk update
RUN apk add --no-cache git openssh python make g++ libc6-compat
# copy project files
COPY . /src
# install node_modules
RUN cd /src; npm install
# run
CMD ["node", "/src/app/app.js"]
EXPOSE 3002
I get this error:
/src/node_modules/bindings/bindings.js:83
throw e
^
Error: Error relocating /src/node_modules/detect-character-encoding/build/Release/icuWrapper.node: ucnv_close_58: symbol not found
at Object.Module._extensions..node (module.js:598:18)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at bindings (/src/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/src/node_modules/detect-character-encoding/index.js:3:37)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
It works locally (OSX) and on Travis (linux i think), and I have tried it with versions of node from 0.10.48 all the way up to 8.1.4. Are there unlisted dependencies that you can think of?
Metadata
Metadata
Assignees
Labels
No labels