You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
Uncaught (in promise) TypeError: Class constructor helperOperation cannot be invoked without 'new'
Error Details:
Uncaught (in promise) TypeError: Class constructor helperOperation cannot be invoked without 'new'
at of.<anonymous> (operations_service.ts:237:23)
at Generator.next (<anonymous>)
at rewrite_sentence_operation.ts:64:3
at new Promise (<anonymous>)
at rf (rewrite_sentence_operation.ts:64:3)
at of.startOperation (operations_service.ts:214:15)
at ah.__onClickHelper (operation_controls.ts:88:38)
at ah.<anonymous> (text_input_control.ts:122:20)
at la.handleEvent (lit-html.js:6:7113)
(anonymous) @ operations_service.ts:237
(anonymous) @ rewrite_sentence_operation.ts:64
rf @ rewrite_sentence_operation.ts:64
startOperation @ operations_service.ts:214
(anonymous) @ operation_controls.ts:88
(anonymous) @ text_input_control.ts:122
handleEvent @ lit-html.js:6
Steps to Reproduce:
Enable TerserPlugin optimization minimization in the webpack configuration.
Use the "suggest rewrite" and "get prompt suggestions" features while the optimization is enabled.
Observe the browser console for the error.
Expected Behavior:
The application should function correctly even with TerserPlugin optimization enabled and the "suggest rewrite" and "get prompt suggestions" features should not result in a TypeError.
Additional Information:
Version of PAIR-code/wordcraft used: (main branch)
Browser and version: (e.g., Chrome latest, Edge latest)
Operating System: (e.g., Windows 11)
The text was updated successfully, but these errors were encountered:
Issue Description:
Uncaught (in promise) TypeError: Class constructor
helperOperation
cannot be invoked without 'new'Error Details:
Steps to Reproduce:
Expected Behavior:
The application should function correctly even with TerserPlugin optimization enabled and the "suggest rewrite" and "get prompt suggestions" features should not result in a
TypeError
.Additional Information:
PAIR-code/wordcraft
used: (main branch)The text was updated successfully, but these errors were encountered: