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
When I import litegraph.js in vite and encounter an error, I traced the code and found that the methods are mounted through global, while in the vite development environment, they are loaded using EMS.I think it should be this problem.
litegraph.js:16882 Uncaught ReferenceError: clamp is not defined
at WidgetNumber.onMouseUp (litegraph.js:16882:12)
at LGraphCanvas.processMouseUp (litegraph.js:6910:26)
The text was updated successfully, but these errors were encountered:
When I import
litegraph.js
invite
and encounter an error, I traced the code and found that the methods are mounted throughglobal
, while in thevite
development environment, they are loaded using EMS.I think it should be this problem.The text was updated successfully, but these errors were encountered: