-
-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
blocked 🚫Depends on another issue either in this project or a dependency's projectDepends on another issue either in this project or a dependency's projectbuild-host:windowsRunning Electron Packager on WindowsRunning Electron Packager on Windows
Description
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Hello! If you do a fresh install with npm i electron-packager it brings down asar@0.14.4.
Running electron-packager . --asar then fails with an ENOENT error as the file destination is no-longer correct: (it looks like the temp directory is used twice).
As a quick fix I fixed the version of asar:
npm i asar@0.14.3 -D
Error
flora-colossus creating walker with rootModule=dist +0ms
electron-packager Running asar with the options {} +14ms
fs.js:941
binding.lstat(pathModule._makeLong(path));
^
Error: ENOENT: no such file or directory, lstat '%TMP%\electron-packager\win32-x64\app\resources\app\%TMP%\electron-packager\win32-x64\app\resources\app\main.js'
at Object.fs.lstatSync (fs.js:941:11)
at handleFile (D:\dev\trading-ui\electron-host\node_modules\asar\lib\asar.js:116:23)
at next (D:\dev\trading-ui\electron-host\node_modules\asar\lib\asar.js:170:12)
at Object.module.exports.createPackageFromFiles (D:\dev\trading-ui\electron-host\node_modules\asar\lib\asar.js:175:10)
at D:\dev\trading-ui\electron-host\node_modules\asar\lib\asar.js:50:20
at D:\dev\trading-ui\electron-host\node_modules\asar\lib\crawlfs.js:19:12
at f (D:\dev\trading-ui\electron-host\node_modules\once\once.js:25:25)
at Glob.<anonymous> (D:\dev\trading-ui\electron-host\node_modules\asar\node_modules\glob\glob.js:146:7)
at emitOne (events.js:116:13)
at Glob.emit (events.js:211:7)
at Glob._finish (D:\dev\trading-ui\electron-host\node_modules\asar\node_modules\glob\glob.js:185:8)
at done (D:\dev\trading-ui\electron-host\node_modules\asar\node_modules\glob\glob.js:172:12)
at Glob._processGlobStar2 (D:\dev\trading-ui\electron-host\node_modules\asar\node_modules\glob\glob.js:614:12)
at D:\dev\trading-ui\electron-host\node_modules\asar\node_modules\glob\glob.js:603:10
at RES (D:\dev\trading-ui\electron-host\node_modules\inflight\inflight.js:31:16)
at f (D:\dev\trading-ui\electron-host\node_modules\once\once.js:25:25)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blocked 🚫Depends on another issue either in this project or a dependency's projectDepends on another issue either in this project or a dependency's projectbuild-host:windowsRunning Electron Packager on WindowsRunning Electron Packager on Windows