Skip to content

ERROR: unknown Statement of type "ForOfStatement"Β #12711

@shymkovayu

Description

@shymkovayu

πŸ“ Provide detailed reproduction steps (if any)

  1. Build CKEditor from source in a separate repo
  2. Release as an NPM package
  3. Add to another project as dependency

βœ”οΈ Expected result

Project builds.

❌ Actual result

Error: dist/ckeditor.js: unknown Statement of type "ForOfStatement"

❓ Possible solution

?

πŸ“ƒ Other details

  • CKEditor: 35.2.1
  • @babel/core: 7.19.3
  • @babel/generator: 7.19.5
  • Node: 16.13.0

Hello! I'm trying to build CKEditor from source and use it my main project. It builds separately just fine, but the main project build fails when I'm using it. Could you please help me understand which way should I look?

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution:resolvedThis issue was already resolved (e.g. by another ticket).type:bugThis issue reports a buggy (incorrect) behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions