unable to parse `path` during `tree.dependencies` reduce
Since we use @electron-forge/plugin-vite to build electron app, there is no node_modules dir in app.asar.
electron-builder version=26.0.12 os=10.0.19045
• loaded configuration file=package.json ("build" field)
• author is missed in the package.json appPackageFile=D:\project\apps\dashboard-desktop\package.json
• writing effective config file=dist\builder-effective-config.yaml
• "electron-squirrel-startup" dependency is not required for NSIS
• executing @electron/rebuild electronVersion=35.0.0 arch=x64 buildFromSource=false appDir=./
• installing native dependencies arch=x64
• completed installing native dependencies
• packaging platform=win32 arch=x64 electron=35.0.0 appOutDir=dist\win-unpacked
⨯ dependency path is undefined packageName=commander data=[object Object] parentModule=@electron/asar parentVersion=4.0.0
⨯ unable to parse `path` during `tree.dependencies` reduce failedTask=build stackTrace=Error: unable to parse `path` during `tree.dependencies` reduce
I use electron-builder 25.1.8 solved this problem
Getting the same error.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment, or this will be closed in 30 days.
@anton-liam Could you try 26.0.19 version?
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment, or this will be closed in 30 days.
Please change the latest tag from 26.0.12 to working versions as the Build is failing if we install electron-builder@latest
this is still the caase