Skip to content

Redis stable version updated, breaks redis-memory-server install #48

@RobertHunter-Pluto

Description

@RobertHunter-Pluto

Install fails during npm ci or npm install. I assume this has something to do with their latest 8.0.0 release. Same issue happens if building inside a docker container or locally on a mac. Changing the redis version to anything starting with ^6 or ^7 fixes it.

This happens on both 0.10.0 and 0.12.1.

#0 52.97 npm error path /app/node_modules/redis-memory-server
#0 52.97 npm error command failed
#0 52.97 npm error command sh -c node ./scripts/postinstall
#0 52.97 npm error redis-memory-server: checking Redis binaries cache...
#0 52.97 npm error Downloading Redis stable: 0 % (0mb / 3.8mb)
#0 52.97 npm error failed to download/install Redis binaries. The error: Error: Command failed: make JEMALLOC_CONFIGURE_OPTS=--with-lg-vaddr=48
#0 52.97 npm error /bin/sh: 1: pkg-config: not found
#0 52.97 npm error /bin/sh: 1: pkg-config: not found
#0 52.97 npm error /bin/sh: 1: pkg-config: not found
#0 52.97 npm error     CC Makefile.dep
#0 52.97 npm error /bin/sh: 1: pkg-config: not found
#0 52.97 npm error /bin/sh: 1: pkg-config: not found
#0 52.97 npm error /bin/sh: 1: pkg-config: not found
#0 52.97 npm error make[3]: g++: No such file or directory
#0 52.97 npm error make[3]: *** [Makefile:18: fast_float_strtod.o] Error 127
#0 52.97 npm error make[2]: *** [Makefile:80: fast_float] Error 2
#0 52.97 npm error make[1]: [Makefile:402: persist-settings] Error 2 (ignored)
#0 52.97 npm error     CC threads_mngr.o
#0 52.97 npm error In file included from server.h:55,
#0 52.97 npm error                  from threads_mngr.c:16:
#0 52.97 npm error zmalloc.h:30:10: fatal error: jemalloc/jemalloc.h: No such file or directory
#0 52.97 npm error    30 | #include <jemalloc/jemalloc.h>
#0 52.97 npm error       |          ^~~~~~~~~~~~~~~~~~~~~
#0 52.97 npm error compilation terminated.
#0 52.97 npm error make[1]: *** [Makefile:454: threads_mngr.o] Error 1
#0 52.97 npm error make: *** [Makefile:11: all] Error 2```

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