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

Mac M1 Chip Support #78

Closed
Dreamer-Paul opened this issue Nov 14, 2022 · 1 comment
Closed

Mac M1 Chip Support #78

Dreamer-Paul opened this issue Nov 14, 2022 · 1 comment
Labels
stale No recent activity

Comments

@Dreamer-Paul
Copy link

Dreamer-Paul commented Nov 14, 2022

Bug description
Does not support M1 Chip's mac.

To Reproduce
Steps to reproduce the behavior:

  1. Install package
  2. Using this package in M1 Mac

Expected behavior
Supports M1 Chip's Mac.

System information (please complete the following information):

  • OS: MacOS Ventura 13.0
  • App version 4.7.1

Additional context
Similar questions: #37

I checked the code about this question, There seems to be no support.

case "darwin":
  return "mkcert-" + MKCERT_VERSION + "-darwin-amd64"
case "linux":
  if (process.arch === "arm" || process.arch === "arm64")
    return "mkcert-" + MKCERT_VERSION + "-linux-arm"
  else return "mkcert-" + MKCERT_VERSION + "-linux-amd64"

Here is my code in project.

import httpsLocalhost from 'https-localhost';

const httpServer = httpsLocalhost();
certs = await httpServer.getCerts();

That's my log about process.arch and process.platform:

console.log(process.arch, process.platform);
<- arm64 darwin
This was referenced Nov 14, 2022
@github-actions
Copy link
Contributor

Marked as stale for no activity in the past 60 days. In 7 days it will be closed unless new activity.

@github-actions github-actions bot added the stale No recent activity label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No recent activity
Projects
None yet
Development

No branches or pull requests

1 participant