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
when packaging their apps they might get an error like:
Bad snapcraft.yaml content:
- extra field 'adapter' not permitted in 'apps.insomnia' configuration
Full execution log: '/home/parallels/.cache/snapcraft/log/snapcraft-20230113-002320.808750.log'
⨯ exit status 1
github.com/develar/app-builder/pkg/util.ExecuteAndPipeStdOutAndStdErr
/Volumes/data/Documents/app-builder/pkg/util/exec.go:23
github.com/develar/app-builder/pkg/package-format/snap.buildWithoutTemplate
/Volumes/data/Documents/app-builder/pkg/package-format/snap/snap.go:352
github.com/develar/app-builder/pkg/package-format/snap.Snap
(...)
this is due to adapter being legacy. See this doc for more info in the Snapcraft provided environment section.
It ends up being this way due to isUseTemplateAppending up as false when folks define stagePackages, hitting this codepath in snap.ts:
If users define
core22
asbase
and define some stage packages, like:when packaging their apps they might get an error like:
this is due to
adapter
being legacy. See this doc for more info in theSnapcraft provided environment
section.It ends up being this way due to
isUseTemplateApp
ending up asfalse
when folks definestagePackages
, hitting this codepath in snap.ts:one possible workaround might be adding a check for
core22
The text was updated successfully, but these errors were encountered: