Skip to content

Alpine linux support #313

@ohardy

Description

@ohardy

Hi,

I discovered that docusaurus uses this package.

Indeed, since this morning, I can't do any more npm install in my alpine docker images because of the dependency with the npm node package.

npm-why node
> @docusaurus/preset-classic > @docusaurus/plugin-debug > react-json-view > node@10.23.0

And node npm package doesn't support alpine for now (aredridel/node-bin-gen#48)

So I create this issue to know if it's easy for you to remove usage of this package, or if you know a solution for this problem ?

The error I have on npm install:

npm ERR! code 127
npm ERR! path /src/node_modules/core-js-pure
npm ERR! command failed
npm ERR! command sh -c node -e "try{require('./postinstall')}catch(e){}"
npm ERR! Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /src/node_modules/.bin/node)
npm ERR! Error relocating /src/node_modules/.bin/node: gnu_get_libc_version: symbol not found
npm ERR! Error relocating /src/node_modules/.bin/node: __register_atfork: symbol not found
npm ERR! Error relocating /src/node_modules/.bin/node: __strdup: symbol not found
npm ERR! Error relocating /src/node_modules/.bin/node: setcontext: symbol not found
npm ERR! Error relocating /src/node_modules/.bin/node: makecontext: symbol not found
npm ERR! Error relocating /src/node_modules/.bin/node: backtrace: symbol not found
npm ERR! Error relocating /src/node_modules/.bin/node: getcontext: symbol not found

And testing directly in the docker image:

/src/node_modules/.bin # ./node 
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by ./node)
Error relocating ./node: gnu_get_libc_version: symbol not found
Error relocating ./node: __register_atfork: symbol not found
Error relocating ./node: __strdup: symbol not found
Error relocating ./node: setcontext: symbol not found
Error relocating ./node: makecontext: symbol not found
Error relocating ./node: backtrace: symbol not found
Error relocating ./node: getcontext: symbol not found

Thanks

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