Skip to content

don't run on m1/ventura #27

@drewsher

Description

@drewsher

Good afternoon, on my new computer (m1 / ventura) the module refuses to work. I don’t know how this is possible, but on the old one everything is fine (intel / high siera). The problem is that when calling ngrok asynchronous functions nuxt stops and nothing further happens

nuxt.hook("listen", async (_server, {port}) => {
  if (options.authtoken) {
    await ngrok2.authtoken(options.authtoken); // here
  }
  url = await ngrok2.connect({...options, addr: port}); // and here
  nuxt.options.publicRuntimeConfig.ngrok = {url};
  nuxt.options.cli.badgeMessages.push(`Public URL: ${chalk2.underline.yellow(url)}`);
});

If you remove these calls, then the nuxt will start, but in this case the module will not work either.

I am attaching a screenshot of the terminal, nothing happens after launch

Снимок экрана 2022-12-27 в 12 54 54

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions