BennyTheDev / pipe-wallet

MIT License
36 stars 8 forks source link

Mac: Error: No native build was found for platform=darwin arch=arm64 runtime=node #3

Closed kuncle closed 1 year ago

kuncle commented 1 year ago

run: node pipe.mjs walletcreate xxx Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=108 uv=1 armv=8 libc=glibc node=18.16.0

BennyTheDev commented 1 year ago

that's probably bip32 related, I will check that on macos

kuncle commented 1 year ago

any update?

ghost commented 1 year ago

I use macOS 14.1 Node v18.17.1 wallet works fine. Have you updated the dependencies? My package.ison, try comparing to yours, maybe an update from the repository is required. There was a wallet update a couple days ago.

{
  "dependencies": {
    "@cmdcode/tapscript": "1.2.7",
    "bip32": "3.0.1",
    "bip39": "^3.1.0",
    "config": "^3.3.9",
    "cuid": "^3.0.0",
    "graceful-goodbye": "^1.3.0",
    "level": "^8.0.0",
    "level-sublevel": "^6.6.5",
    "os": "^0.1.2",
    "tiny-secp256k1": "^2.2.3"
  }
}
kuncle commented 1 year ago

I use macOS 14.1 Node v18.17.1 wallet works fine. Have you updated the dependencies? My package.ison, try comparing to yours, maybe an update from the repository is required. There was a wallet update a couple days ago.

{
  "dependencies": {
    "@cmdcode/tapscript": "1.2.7",
    "bip32": "3.0.1",
    "bip39": "^3.1.0",
    "config": "^3.3.9",
    "cuid": "^3.0.0",
    "graceful-goodbye": "^1.3.0",
    "level": "^8.0.0",
    "level-sublevel": "^6.6.5",
    "os": "^0.1.2",
    "tiny-secp256k1": "^2.2.3"
  }
}

sorry for the delayed reply, but it still doesn't work.

kuncle commented 1 year ago

emmm, just use npm install classic-level --build-from-source command solved it.

""" If you don't want to use the prebuilt binary for the platform you are installing on, specify the --build-from-source flag when you install. One of: npm install classic-level --build-from-source """ from https://github.com/Level/classic-level