Skip to content

German Special Characters trigger "The specified module could not be found" although it exists #82

@Thoma997

Description

@Thoma997

In most cases, modules can be loaded even though there are German special characters in the file path.
In some cases however, modules can not be loaded and the formatting of the special character breaks.
In this case for instance ö -> ö.

We use electron and electron-builder.
The problem only appears on Windows

Error: The specified module could not be found.
\\?\C:\Users\Firstname Schönema\AppData\Local\Programs\bliro_desktop\resources\app.asar.unpacked\build\AudioRecorder_win.node
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
    at Module._extensions..node (node:internal/modules/cjs/loader:1259:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
    at Module.load (node:internal/modules/cjs/loader:1044:32)
    at Module._load (node:internal/modules/cjs/loader:885:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1068:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at bindings (C:\Users\Firstname Schönema\AppData\Local\Programs\bliro_desktop\resources\app.asar\node_modules\bindings\bindings.js:112:48)
    at Object.<anonymous> (C:\Users\Firstname Schönema\AppData\Local\Programs\bliro_desktop\resources\app.asar\build\Api\AudioRecorderApi\index.js:12:40)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions