Skip to content

yarn run webpack #1192

@mbaderweb

Description

@mbaderweb

I have to install akeneo 2.3 and run into this problem. I can't figure it out...

yarn run webpack

======================================================
ERROR in /var/www/html/pim-community-standard/pim-community-standard/node_modules/@types/node/index.d.ts
[tsl] ERROR in /var/www/html/pim-community-standard/pim-community-standard/node_modules/@types/node/index.d.ts(39,1)
TS1084: Invalid 'reference' directive syntax.

ERROR in ./web/bundles/pimenrich/js/view/base.ts
[tsl] ERROR in /var/www/html/pim-community-standard/pim-community-standard/web/bundles/pimenrich/js/view/base.ts(94,28)
TS2538: Type 'undefined' cannot be used as an index type.

ERROR in ./web/bundles/pimenrich/js/view/base.ts
[tsl] ERROR in /var/www/html/pim-community-standard/pim-community-standard/web/bundles/pimenrich/js/view/base.ts(193,3)
TS2416: Property 'render' in type 'BaseView' is not assignable to the same property in base type 'View'.
Type '() => View' is not assignable to type '() => this'.

ERROR in ./web/bundles/pimenrich/js/view/base.ts
[tsl] ERROR in /var/www/html/pim-community-standard/pim-community-standard/web/bundles/pimenrich/js/view/base.ts(193,3)
TS2416: Property 'render' in type 'BaseView' is not assignable to the same property in base type 'View<any, HTMLElement>'.
Type '() => View' is not assignable to type '() => this'.
Type 'View' is not assignable to type 'this'.
error Command failed with exit code 2.
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