Skip to content

Estraverse 5.2.0 is not compatible with current ui5-builder #391

@MrUnkei

Description

@MrUnkei

Expected Behavior

The build work

Current Behavior

Error message appear

Steps to reproduce the issue

On a repo with @ui5/cli@^2.0.0 and with ui5 build xxxx works

  1. remove all your dependencies and delete package-lock.json file
  2. npm i to use latest version of your dependencies
  3. run your ui5 build xxxx

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): {...}
  • Node.js Version: tested on 10.19.0 and 12.18.2
  • npm Version: {...}
  • OS/Platform: {...}
  • Browser (if relevant): {...}
  • Other information: {...}

Affected components (if known)

Log Output / Stack Trace

Error Message:
taskRepository: Failed to require task module for generateComponentPreload: unknown estree node type 'ChainExpression', new syntax?

Stack Trace:
Error: taskRepository: Failed to require task module for generateComponentPreload: unknown estree node type 'ChainExpression', new syntax?
    at getTask (/XXXX/node_modules/@ui5/builder/lib/tasks/taskRepository.js:36:9)
    at addTask (/XXXX/node_modules/@ui5/builder/lib/types/application/ApplicationBuilder.js:85:12)
    at /XXXX/node_modules/@ui5/builder/lib/types/AbstractBuilder.js:205:11
    at process._tickCallback (internal/process/next_tick.js:68:7)

More information

Estraverse@5.2.0 has been release yesterday and introduce ChainExpression
estools/estraverse#113

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions