javax.script.ScriptException

Error: Cannot find module '../package.json' in <Unknown source> at line number 1

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web316

  • Error: Cannot find module '../package.json' in <Unknown source> at line number 1
  • Error: Cannot find module '../package.json' in <Unknown source> at line number 1
  • sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function renderToString in object [object Object]. (<Unknown source>#1) in <Unknown source> at line number 1
  • Stack trace

    • javax.script.ScriptException: Error: Cannot find module '../package.json' in <Unknown source> at line number 1 at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:224)[na:1.7.0_51] at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249)[na:1.7.0_51] at nms.server.domain.AuditManager$ConfigAuditProcessor.run(AuditManager.java:465)[nms.jar:na] Caused by: sun.org.mozilla.javascript.internal.JavaScriptException: Error: Cannot find module '../package.json' (<Unknown source>#1) at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:1066)[na:1.7.0_51] at sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:849)[na:1.7.0_51] at sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:162)[na:1.7.0_51] at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(ContextFactory.java:430)[na:1.7.0_51] at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(RhinoScriptEngine.java:116)[na:1.7.0_51] at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(RhinoScriptEngine.java:109)[na:1.7.0_51] at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(ScriptRuntime.java:3160)[na:1.7.0_51] at sun.org.mozilla.javascript.internal.InterpretedFunction.exec(InterpretedFunction.java:173)[na:1.7.0_51] at sun.org.mozilla.javascript.internal.Context.evaluateReader(Context.java:1169)[na:1.7.0_51] at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:214)[na:1.7.0_51]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago