Publishing to S3 (bucket: xxx-updates-dev)
Error: Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
TypeError: Path must be a string. Received { file: '/Users/acharantimath/Desktop/xxx/dist/xxx-xxx-99.0.2.pkg',
safeArtifactName: null,
target:
PkgTarget {
name: 'pkg',
isAsyncSupported: true,
packager:
MacPackager {
info: [Object],
_resourceList: [Object],
config: [Object],
platformSpecificBuildOptions: [Object],
appInfo: [Object],
packagerOptions: [Object],
projectDir: '/Users/acharantimath/Desktop/xxx',
buildResourcesDir: '/Users/acharantimath/Desktop/xxx/build',
codeSigningInfo: [Object] },
outDir: '/Users/acharantimath/Desktop/xxx/dist',
options:
{ allowAnywhere: false,
allowCurrentUserHome: false,
allowRootDirectory: true,
artifactName: 'xxx-${version}.pkg' } },
arch: 1,
packager:
MacPackager {
"electron-publisher-s3": "19.30.0",
Must be 19.43.0
"electron-builder": "19.41.0",
Please use 19.43.4
That fixed it. How would one be aware to keep both the libs in sync?
Btw, thanks for the quick response @develar. You'r awesome \m/
How would one be aware to keep both the libs in sync?
You need to use or ^
or if you prefer to use exact version, — always update both packages. You cannot update electron-builder to 19.43.0, but leave electron-publisher-s3 13 versions behind :)