Spawn ENOENT
See original GitHub issueNot sure if is an issue with asar or electron,anyway I’ve packed my app in an asar archive and everything works fine, except when a module tries to spawn a process calling an archived executable file:
Uncaught Error: spawn C:\Program Files (x86)\TestApp\resources\app.asar\node_modules\pageres\node_modules\screenshot-stream\node_modules\phantom-bridge\node_modules\phantomjs\lib\phantom\phantomjs.exe ENOENT
I’ve tried to extract the archive and the file is indeed there, so where’s the problem?
I’m running on Windows 7 x64 and Electron 0.26.1, using the latest asar (0.6.1).
Thanks,
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How do I debug "Error: spawn ENOENT" on node.js?
Spawn may emit the ENOENT error if the filename command (i.e, 'some-command') does not exist in at least one of the directories defined...
Read more >spawn node ENOENT" when using child_process in Node.js
Have you ever stumbled upon this error when using spawn from Node.js' child_process module? ~/demo $ node main.js. ~/demo/main.js: ...
Read more >Error spawn ENOENT on node js | Edureka Community
Hii team, When I get the following error: events.js:72 throw er; // Unhandled ' ... at Process.ChildProcess.
Read more >[Solved-5 Solutions] Error spawn enoent on node.js - Wikitechy
Spawn may emit the ENOENT error if the filename command (i.e, 'some-command') does not exist in at least one of the directories defined...
Read more >Uncaught exception: Error: spawn ENOENT - Google Groups
Hi- I am running a shiny-server as a non-root user on RedHat using the built from git master branch. While I am able...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Use the Internet Archive to view a snapshot of that page, although I already described how to do it in my earlier comment.
@kevinsawicki That page now returns a 404 page, could you give an updated link or a summary of what it says in the link you provided?