question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Windows Only) Cannot recognized `\\?\` prefix in unpacked path

See original GitHub issue
ELECTRON_ASAR.js:158 Uncaught Error: The specified module could not be found.
\\?\D:\x\desktop\VizMusicPlayer\dist\win\Viz Music Player-win32-x64\resources\app.asar.unpacked\node_modules\sharp\build\Release\sharp.node

detail info: https://github.com/electron-userland/electron-packager/issues/424

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:4
  • Comments:14

github_iconTop GitHub Comments

3reactions
fryckcommented, Apr 28, 2017

+1… any update ? thanks

1reaction
MichaelITcommented, Oct 20, 2017

It is not a bug of asar after my 2 day digging. In my case, I use node-java.It throw flowing error:

Uncaught Error: %1 is not a valid Win32 application.
\\?\F:\tmp\test\win-ia32-unpacked\resources\app\node_modules\java\build\Release\nodejavabridge_bindings.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (F:\tmp\test\win-ia32-unpacked\resources\app\node_modules\java\lib\nodeJavaBridge.js:21:16)
    at Object.<anonymous> (F:\tmp\test\win-ia32-unpacked\resources\app\node_modules\java\lib\nodeJavaBridge.js:316:3)

I flow laggingreflex’s idea. https://github.com/soldair/node-qrcode/issues/22 native module can not be load because it’s dependences was missing. U can use dependencywalker to found out what denpendences was missing, and try to copy to path of entry or add to system path environment variable!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does the 260 character path length limit exist in Windows?
Even Windows Explorer doesn't support long path names either. It fakes it by using the short names when the path exceeds 260, but...
Read more >
Howto: Building R 4.2 and packages on Windows
No setting of PATH is necessary, Rtools42 will be found automatically by R. R 4.2 on Windows uses UCRT as the C runtime...
Read more >
Installing Python Modules (Legacy version) — Python 3.11.1 ...
The default installation directory on Windows was C:\Program Files\Python under Python 1.6a1, 1.5.2, and earlier. prefix and exec-prefix stand for the ...
Read more >
Getting Started — Spack 0.20.0.dev0 documentation
yaml file. On a fresh Windows install with the above packages installed, this command should only detect Microsoft Visual Studio and the Intel...
Read more >
azcopy copy | Microsoft Learn
Checks relative path prefix (For example: myFolder;myFolder/subDirName/file.pdf). --include-pattern (string) Include only these files when ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found