nanoexpress
GitHubKnown BugsFAQ
  • Getting Started
  • Server
  • Middlewares
  • Routes
    • Static Serve
    • Request
    • Response
    • Route
    • Errors handling
  • Schemas
  • WebSocket
  • Docker / Linux
  • Optimizations
  • Benchmarks
  • Known bugs
  • Sponsors
  • FAQ
  • License
Powered by GitBook
On this page
  • For git missing error
  • For Alpine incompatible error
  • For CentOS 7 glibc 2.18 not found error
  • Multi-thread / Cluster

Was this helpful?

Docker / Linux

If you use alpine or slim version of node images, some errors may happen and you can fix with this minimal guide

For git missing error

# FROM ...
RUN apk add --no-cache git
# your scripts

For Alpine incompatible error

# your scripts
RUN ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2

# your commands
# CMD ["node", "server.js"]

For CentOS 7 glibc 2.18 not found error

First, please try

# FROM ...
RUN apk add --no-cache gcompat
# your scripts

or try

# FROM ...
RUN apk add --no-cache libc6-compat
RUN mv /lib64/ld-linux-x86-64.so.2 /lib
# your scripts

Multi-thread / Cluster

Clustering is available on Linux, if your OS isn't Linux, you can try Docker as it works on Docker Linux container

PreviousWebSocketNextOptimizations

Last updated 9 months ago

Was this helpful?

If these solutions didn't work, try solutions from and

here
here