Skip to content

ngrok ERR_DLOPEN_FAILED #104

@Dizzienoo

Description

@Dizzienoo

This is perhaps more for awareness as it took me a while to figure out the issue here.

When running mapps tunnel:create -p 8302 on a fresh machine I was getting the following error:

Error: The specified module could not be found.
    \\?\C:\Users\USER\AppData\Roaming\nvm\v22.9.0\node_modules\@mondaycom\apps-cli\node_modules\@ngrok\ngrok-win32-x64-msvc\ngrok.win32-x64-msvc.node
    Code: ERR_DLOPEN_FAILED

This was saying that it could not load the ngrok module, though due to me running through NVM I initially explored that as the issue.

ngrok has a dependency for a Microsoft C++ Redistributable (https://github.com/ngrok/ngrok-javascript?tab=readme-ov-file#platform-support) that I hadn't installed. Once that was installed the tunnel create command ran as expected. It may be worth adding this distributable dependency to the quick-start documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions