3box-js icon indicating copy to clipboard operation
3box-js copied to clipboard

Installation with version up to 1.20.2 throwing an error

Open Razzwan opened this issue 4 years ago • 2 comments

Describe the bug When I trying to install new version of 3box (up to 1.20.2) tryed all of them: 1.21.0, 1.22.0, 1.22.1, 1.22.2 I am getting such error during installation:

 implicitly declaring library function 'memcpy' with type 'void *(void *, const
      void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]

To Reproduce Steps to reproduce the behavior:

  1. Try to install the package older than 1.20.2 on mac OS

Expected behavior Installation finished succesfully

Screenshots

Desktop (please complete the following information):

  • OS: mac OS Catalina 10.15.7
  • Browser --
  • Version 1.22.2

Razzwan avatar Nov 19 '20 21:11 Razzwan

I'm seeing this also on Big Sur.

The bcrypto library is a dependency of ipfs so not sure if we should be asking them to update instead. Thanks for reporting @Razzwan

scottrepreneur avatar Dec 09 '20 01:12 scottrepreneur

@scottrepreneur @Razzwan adding a yarn resolution pointing to the latest version of bcrypto fixed the issue for me.

"resolutions": {
  "bcrypto": "5.4.0"
}

adamsoffer avatar Jan 27 '21 01:01 adamsoffer