Peast\Syntax\Exception: Unexpected: async in Peast\Syntax\ParserAbstract->error() (line 305 of D:\xampp\htdocs\thinkindrupal1\vendor\mck89\peast\lib\Peast\Syntax\ParserAbstract.php

Created on 7 August 2023, over 1 year ago

Problem/Motivation

It seems that Drupal core does not support async very well. get error :
Peast\Syntax\Exception: Unexpected: async in Peast\Syntax\ParserAbstract->error() (line 305 of D:\xampp\htdocs\thinkindrupal1\vendor\mck89\peast\lib\Peast\Syntax\ParserAbstract.php).

not preprocess js works. when preprocess js, get this error.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇳China g089h515r806

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024