You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing windows desktop application with electron (aka atom-shell). My app uses browser-sync inside.
When I created asar package(a kind of tar package) and then launched my app,
it was crashed. I got an stack trace, and found the source of problem was 'File Not Found exception' at node_modules/browser-sync-ui/lib/hook.js, Ln: 11.
I found the final path for template file had mixed path separators as / and \. I believe the normal file access case has no problem, but asar package cannot handle well when path separators are mingled.
So I changed the code by using path.join method, then the problem was fixed.
I'm developing windows desktop application with electron (aka atom-shell). My app uses
browser-sync
inside.When I created asar package(a kind of tar package) and then launched my app,
it was crashed. I got an stack trace, and found the source of problem was
'File Not Found exception'
atnode_modules/browser-sync-ui/lib/hook.js
,Ln: 11
.I found the final path for template file had mixed path separators as
/
and\
. I believe the normal file access case has no problem, butasar
package cannot handle well when path separators are mingled.So I changed the code by using
path.join
method, then the problem was fixed.Please check the path has valid form for the template file.
The text was updated successfully, but these errors were encountered: