asar: (Windows Only) Cannot recognized `\\?\` prefix in unpacked path
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
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 4
- Comments: 15 (1 by maintainers)
+1… any update ? thanks
It is not a bug of asar after my 2 day digging. In my case, I use node-java.It throw flowing error:
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
dependencywalkerto found out what denpendences was missing, and try to copy to path of entry or add to systempathenvironment variable!What is the current status of this? It seems to me that Node is modifying the path to prepend the //?/ prefix in order to trigger a Microsoft hack to support real long filenames. However, something in electron-asar doesn’t understand/support this. I have no workaround to this.