Skip to content

Failed to create ZombieBox Application instance. CLI functionality will be limited #1

@karneaud

Description

@karneaud

I have the following project

{
  "name": "zb-minimal-project",
  "version": "1.0.0",
  "scripts": {
    "start": "zombiebox run",
    "build": "zombiebox build all"
  },
  "dependencies": {
    "sharp": "^0.22.1",
    "zb-utils": "^0.1.8",
    "zombiebox": "^2.0.0-alpha.1",
    "zombiebox-extension-cutejs": "^1.2.0",
    "zombiebox-extension-dependency-injection": "^2.0.0-alpha.1",
    "zombiebox-extension-ui": "^2.0.0-alpha.1",
    "zombiebox-platform-android-tv": "^3.0.0-alpha.1",
    "zombiebox-platform-pc": "^2.0.0-alpha.1"
  }
}

When running the command yarn build without the "zombiebox-platform-android-tv": "^3.0.0-alpha.1" it works as expected. However, running with the android-tv package yields the results

zombiebox run
AbstractExtension {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_codeSource: null,
_cutejs: Engine {
_input: Holder { _variables: {} },
_output: Holder { _variables: {} },
clientLibImportPath: 'cutejs-lib/cute-library',
_analyzer: Analyzer { _holder: [Holder], _preTypes: {}, _preInputType: '' },
_templateHandlers: {
importDependency: [Array],
naming: [Array],
typedef: [Array],
escaper: [Array],
interpolate: [Array],
escape: [Array],
partial: [Array],
inlineComponent: [Array],
component: [Array],
exportNode: [Array],
evaluate: [Array]
},
_escapes: {
'\': '\',
"'": "'",
r: '\r',
n: '\n',
t: '\t',
u2028: '
',
u2029: '
',
'\r': 'r',
'\n': 'n',
'\t': 't',
'
': 'u2028',
'
': 'u2029'
}
}
}
Extension cutejs loaded
Extension {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_codeSource: null
}
Extension dependency-injection loaded
Extension {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_codeSource: null
}
Extension ui loaded
PlatformAndroid {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
CONFIG_REPLACE_PATTERN: '//[FLAVOR_INSERTION_POINT]//'
}
Trying to add not addon: [object Object]
Failed to create ZombieBox Application instance. CLI functionality will be limited
Could not find ZombieBox applicaion
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions