remix-image icon indicating copy to clipboard operation
remix-image copied to clipboard

Build fails on ARM-based Mac with Node v19

Open GyrosOfWar opened this issue 1 year ago • 8 comments

Describe the bug

Hi, I'm having trouble installing the library on my ARM-based Mac with NodeJS v19. I'm getting this error, which is fixed by the new major version of better-sqlite3.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Run npm install remix-image on any project.

Expected behavior

Installing the library should not crash.

Screenshots or Videos

No response

Platform

  • OS: MacOS 13.2.1
  • Browser: Not applicable
  • Version: 1.4.0

Additional context

No response

GyrosOfWar avatar Mar 18 '23 16:03 GyrosOfWar

same issue here

urim-thummim avatar Mar 22 '23 00:03 urim-thummim

same thing for me

jegork avatar Apr 30 '23 21:04 jegork

Ran into the same issue but I am on M1 chip.

setoseng avatar May 02 '23 20:05 setoseng

Same error but with Node v20.5.0 on WSL / Ubuntu 22.04.

The real question is why better-sqlite3 is even a dependency when I can't think of anything in this library that would actually need it.

dantman avatar Jul 27 '23 01:07 dantman

Anyone got solution to this?

yongyi520 avatar Nov 22 '23 10:11 yongyi520

@yongyi520

Magically, I have tried installing this library again (after almost half a year) and the problem got fixed by itself

I can send you my dependencies and any other software information that I am currently using, maybe it will resolve the issue for you

jegork avatar Nov 30 '23 15:11 jegork

@yongyi520

Magically, I have tried installing this library again (after almost half a year) and the problem got fixed by itself

I can send you my dependencies and any other software information that I am currently using, maybe it will resolve the issue for you

Yes may I see your dependencies? I believe that would help. And do you have macbook M1?

yongyi520 avatar Nov 30 '23 16:11 yongyi520

@yongyi520 yes, I am using M1, here is my full list of dependencies (I use pnpm)

"dependencies": {
    "@aws-sdk/client-s3": "^3.435.0",
    "@chakra-ui/icons": "^2.1.1",
    "@chakra-ui/react": "^2.8.1",
    "@emotion/cache": "^11.11.0",
    "@emotion/react": "^11.11.1",
    "@emotion/server": "^11.11.0",
    "@emotion/styled": "^11.11.0",
    "@hookform/resolvers": "^3.3.2",
    "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.11.0/react-icons-all-files-4.11.0.tgz",
    "@remix-run/express": "^1.19.3",
    "@remix-run/node": "^1.19.3",
    "@remix-run/react": "^1.19.3",
    "@remix-run/serve": "^1.19.3",
    "@sentry/browser": "^7.75.0",
    "@sentry/integrations": "^7.75.0",
    "@sentry/remix": "^7.75.0",
    "@tanstack/react-query": "5.0.0-beta.20",
    "@tanstack/react-table": "^8.10.7",
    "@uselessdev/datepicker": "^2.7.0",
    "axios": "^1.5.1",
    "chakra-react-select": "^4.7.5",
    "chokidar": "^3.5.3",
    "compression": "^1.7.4",
    "cors": "^2.8.5",
    "cross-env": "^7.0.3",
    "date-fns": "^2.30.0",
    "escape-html": "^1.0.3",
    "express": "^4.18.2",
    "express-rate-limit": "^6.11.2",
    "file-type": "^18.5.0",
    "framer-motion": "^10.16.4",
    "helmet": "^7.0.0",
    "i18next": "^23.6.0",
    "i18next-browser-languagedetector": "^7.1.0",
    "i18next-fs-backend": "^2.2.0",
    "i18next-http-backend": "^2.2.2",
    "intl-parse-accept-language": "^1.0.0",
    "is-hotkey": "^0.2.0",
    "isbot": "^3.7.0",
    "libphonenumber-js": "^1.10.48",
    "mime-types": "^2.1.35",
    "morgan": "^1.10.0",
    "qs": "^6.11.2",
    "react": "18.3.0-canary-6b3834a45-20231110",
    "react-device-detect": "^2.2.3",
    "react-dom": "18.3.0-canary-6b3834a45-20231110",
    "react-hook-form": "^7.47.0",
    "react-i18next": "^13.3.1",
    "react-lines-ellipsis": "^0.15.4",
    "react-phone-number-input": "^3.3.7",
    "remix-i18next": "^5.4.0",
    "remix-image": "^1.4.0",
    "remix-image-sharp": "^0.1.4",
    "remix-utils": "^6.6.0",
    "sharp": "^0.32.6",
    "slate": "^0.94.1",
    "slate-history": "^0.93.0",
    "slate-hyperscript": "^0.77.0",
    "slate-react": "^0.99.0",
    "source-map-support": "^0.5.21",
    "zod": "^3.22.4",
    "zod-form-data": "^2.0.2"
  },

jegork avatar Dec 02 '23 10:12 jegork