Replies: 6 comments
-
I guess this is because you are running on a Apple ARM CPU? I am not sure if there is a way around this currently if that is the case. I wonder if that linked issue is indeed related, I don't see a fix coming in yet. Any suggestions what I could change as I don't have a machine to reproduce this issue? |
Beta Was this translation helpful? Give feedback.
-
As I correct understand, node-canvas comes from some dependency(ies).
Here are the guides for running ARM64 Linux on QEMU:
or via Docker:
...if that would be helpful |
Beta Was this translation helpful? Give feedback.
-
Perhaps the steps in the bug report can be followed to make sure
If that doesn't work, you could consider removing the deps that require C:\x>npm ls canvas
daedalos@2.0.0 C:\x
├─┬ jest-environment-jsdom@29.7.0
│ ├── canvas@2.11.2
│ └─┬ jsdom@20.0.3
│ └── canvas@2.11.2 deduped
└─┬ pdfjs-dist@4.3.136
└── canvas@2.11.2 deduped |
Beta Was this translation helpful? Give feedback.
-
From pdfjs sources, it like a optional dependency: https://github.com/mozilla/pdfjs-dist/blob/5f07d5a4159bb99eee2f6143d1297f03b45bba58/package.json#L16.
IIRC node-gyp can automatically rebuild a package if libs for your arch/os are not available. I can check later running daedalOS on Debian if you want. |
Beta Was this translation helpful? Give feedback.
-
Looking at the releases page for the Canvas module here, I might have to build it as they have no release for arm64 right now. I'm not sure if I can build it, but I'll see what I can do. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use the Yarn install command within the directory where the project is at. However, the node-canvas module that the project requires is randomly returning a 404 GET request to it's release file on GitHub. The URL it was requesting also returns a 404 message in my web browser. Not sure why this is occurring considering that it was available and working last time I was using DaedalOS on my local machine. Can someone assist me on this?
Log
Beta Was this translation helpful? Give feedback.
All reactions