Reference Error : "Shortcut is not defined"
Opened this issue · 0 comments
ahmedmoselhi commented
ReferenceError: "Shortcut" is not defined
at <js> :program(Unnamed:1:4-11)
at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:379)
at org.phoenicis.scripts.engine.implementation.PolyglotScriptEngine.evalAndReturn(PolyglotScriptEngine.java:73)
at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval(PhoenicisInteractiveScriptSession.java:35)
at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1(BackgroundScriptInterpreter.java:45)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
also there is another error : script not found engines..shortcuts
Script not found: engines..shortcuts.
at org.phoenicis.scripts.interpreter.ScriptFetcher.getScript(ScriptFetcher.java:36)
at org.phoenicis.scripts.engine.injectors.IncludeInjector.lambda$injectInto$0(IncludeInjector.java:42)
at <js> :program(Unnamed:1:17-46)
at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:379)
at org.phoenicis.scripts.engine.implementation.PolyglotScriptEngine.evalAndReturn(PolyglotScriptEngine.java:73)
at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval(PhoenicisInteractiveScriptSession.java:35)
at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1(BackgroundScriptInterpreter.java:45)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by host exception: org.phoenicis.scripts.exceptions.ScriptException: Script not found: engines..shortcuts.