Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on ARM-based Mac with Node v19 #67

Open
GyrosOfWar opened this issue Mar 18, 2023 · 8 comments
Open

Build fails on ARM-based Mac with Node v19 #67

GyrosOfWar opened this issue Mar 18, 2023 · 8 comments

Comments

@GyrosOfWar
Copy link

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

@urim-thummim
Copy link

same issue here

@jegork
Copy link

jegork commented Apr 30, 2023

same thing for me

@setoseng
Copy link

setoseng commented May 2, 2023

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

@dantman
Copy link

dantman commented Jul 27, 2023

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.

@yongyi520
Copy link

Anyone got solution to this?

@jegork
Copy link

jegork commented Nov 30, 2023

@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

@yongyi520
Copy link

@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?

@jegork
Copy link

jegork commented Dec 2, 2023

@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"
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants