[Vuejs]-How Do I Resolve this "An error was captured in current module: TypeError: e.parse is not a function"

0👍

Apologies if my knowledge of Vue & JS is a bit off, based on how I see Shopware codes it, I recommend data to be written like this:

data() {
        return {
            ...
        };
}

I would also try to strip your file to the bear minimum to see when the error disappears.

Another thing to check is if you are running a JS file or TS file. Maybe it’s having a hard time parsing your file because you are extending store-settings-page and it assumes it should be TypeScript?

-1👍

this.storeKeysRepository
         .get(this.entityId, Shopware.Context.api)
         .then(entity => {
             this.entity = entity;
             console.log(this.entity);
         });

This will do the trick

Leave a comment