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

Does not install on macOS #119

Closed
fulldecent opened this issue Jun 20, 2021 · 8 comments
Closed

Does not install on macOS #119

fulldecent opened this issue Jun 20, 2021 · 8 comments
Assignees

Comments

@fulldecent
Copy link

It appears this application is shown as working on macOS. However, it will not install.

Screen Shot 2021-06-20 at 16 12 59

Could instructions for macOS please be provided if this is a supported platform?

@christianpaquin
Copy link
Contributor

Can you give details on your environment (OS, npm, and node versions)? Our CI run tests on macos-latest (which is [documented[(https://github.com/actions/virtual-environments) as macOS 10.5) with npm v14, 15, 16.

@fulldecent
Copy link
Author

I am using a new Apple Silicon iMac with fresh Xcode, brew, node and NPM.

❯ node --version
v16.3.0

npm --version
7.18.1


It appears the CI tests are only using the old Intel processor.

Root cause appears to be here Automattic/node-canvas#1733

@christianpaquin
Copy link
Contributor

Thanks for the info. If the issue is with a dependency, we'll have to wait for them to fix the package. Meanwhile, can you run the package from docker? Or perhaps use the online portals?

@fulldecent
Copy link
Author

Thank you, the online portal is very helpful for me to see what was going on. This fully addresses what I was looking for.

I have been working on a competing blockchain-based project, https://genobank.io/certificates/, and wanted to see how SMART Health Cards works. Looks great!

@christianpaquin
Copy link
Contributor

Let's keep this issue open until we get the SDK working on Apple M1; we might ping you again for a quick test once the canvas dependency has been fixed.

@fulldecent
Copy link
Author

Sounds good

@christianpaquin
Copy link
Contributor

I got access to a Mac Mini with a M1 processor; I can confirm I see the same error (with Darwin Kernel Version 20.5.0, npm v7.19.1, Node.js v16.5.0).

@ljoy913
Copy link
Contributor

ljoy913 commented Feb 8, 2022

The issue of failed canvas compilation should no longer occur as the canvas package has been replaced in the project.
Scanning the package-lock.json file shows an optional peer-dependency still exists within the jdom package (a dependency of Jest) - it appears jsdom will use canvas, if installed, but will not install it as a dependency.

@ljoy913 ljoy913 closed this as completed Feb 8, 2022
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

3 participants