Skip to content

Regression in gleap@14.2.6+: .mjs build causes Webpack parse error in Vue 2 #75

Open

Description

@eng-ahmad-sameer

I’m using Gleap in a Vue 2 project (Vue CLI with Webpack) and encountering a fatal error when importing the package:

import Gleap from 'gleap';

With versions 14.2.6 and 14.2.7, I get the following error during build:

Module parse failed: Unexpected token (1:155835)
You may need an appropriate loader to handle this file type...

✅ Temporary Fix:

Downgrading to gleap@14.2.5 resolves the issue, which confirms a regression in 14.2.6+.

Thanks.

Activity

  1. boehlerlukas commented on May 30, 2025

    @boehlerlukas
    Contributor

    Hey @eng-ahmad-sameer

    We could not reproduce the issue with the latest Gleap version v14.6.7.

    Could you try with v14.6.7? If it still doesn't work, could you potentially create a demo repo which allows us to reproduce the issue? The team will then happily have a look asap.

    Best,
    Lukas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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