之前在菜单栏选格式化代码,左下角会报:Unable to format. See error log for details.,然后一直弄不好,后来重新再官网下载了最新的8.0版本,然后还是一样,然后我找到格式化插件js-beautify的路径,重新npm后,发现还是一样,所有办法基本都试过了,为什么还是报错呢?
以下是报错日志,请官方人员看看:
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:12.751
!MESSAGE (Build null) [ERROR] taskkill /F /IM hb_node.exe
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:12.755
!MESSAGE (Build null) [ERROR] E:\HBuilder.8.0.2.windows\HBuilder\plugins\com.pandora.nodejs.win32_1.0.0.201603031741\lib\hb_node.exe E:\HBuilder.8.0.2.windows\HBuilder\plugins\com.pandora.nodejs.thrift_1.0.0.201702102040\js\serviceServer.js 19293
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.548
!MESSAGE (Build null) [ERROR] module.js:440
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.549
!MESSAGE (Build null) [ERROR] return process.dlopen(module, path._makeLong(filename));
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.551
!MESSAGE (Build null) [ERROR] ^
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.552
!MESSAGE (Build null) [ERROR]
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.554
!MESSAGE (Build null) [ERROR] Error: %1 is not a valid Win32 application.
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.556
!MESSAGE (Build null) [ERROR]
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.557
!MESSAGE (Build null) [ERROR] \?\D:\nodejs\win32-x64-51_binding.node
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.558
!MESSAGE (Build null) [ERROR] at Error (native)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.560
!MESSAGE (Build null) [ERROR] at Object.Module._extensions..node (module.js:440:18)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.561
!MESSAGE (Build null) [ERROR] at Module.load (module.js:357:32)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.563
!MESSAGE (Build null) [ERROR] at Function.Module._load (module.js:314:12)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.565
!MESSAGE (Build null) [ERROR] at Module.require (module.js:367:17)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.566
!MESSAGE (Build null) [ERROR] at require (internal/module.js:16:19)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.567
!MESSAGE (Build null) [ERROR] at Object.<anonymous> (E:\HBuilder.8.0.2.windows\HBuilder\plugins\com.pandora.nodejs.thrift_1.0.0.201702102040\js\node_modules\node-sass\lib\index.js:23:15)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.569
!MESSAGE (Build null) [ERROR] at Module._compile (module.js:413:34)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.570
!MESSAGE (Build null) [ERROR] at Object.Module._extensions..js (module.js:422:10)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:13.571
!MESSAGE (Build null) [ERROR] at Module.load (module.js:357:32)
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:15.899
!MESSAGE (Build null) [ERROR] node server 启动: false 3100
!ENTRY com.pandora.nodejs 4 0 2017-03-23 10:26:16.903
!MESSAGE (Build null) [ERROR] java.net.ConnectException: Connection refused: connect
!STACK 0
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect
at org.apache.thrift.transport.TSocket.open(TSocket.java:226)
at com.pandora.nodejs.NodejsClient.innerRequest(NodejsClient.java:79)
at com.pandora.nodejs.NodejsClient.request(NodejsClient.java:67)
at com.pandora.nodejs.service.NodeService.action(NodeService.java:109)
at com.pandora.nodejs.service.NodeService.format(NodeService.java:37)
at com.aptana.editor.js.formatter.JSFormatter.format(JSFormatter.java:281)
at com.aptana.formatter.ScriptFormattingStrategy.doFormat(ScriptFormattingStrategy.java:191)
at com.aptana.formatter.ScriptFormattingStrategy$1.run(ScriptFormattingStrategy.java:115)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.aptana.formatter.ScriptFormattingStrategy.format(ScriptFormattingStrategy.java:111)
at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:193)
at org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:142)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:977)
at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1535)
at com.aptana.editor.common.viewer.CommonProjectionViewer.doOperation(CommonProjectionViewer.java:356)
at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
at org.eclipse.ui.menus.CommandContributionItem.access$18(CommandContributionItem.java:815)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2720)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2684)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2518)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:682)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:671)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.aptana.rcp.IDEApplication.start(IDEApplication.java:319)
at com.aptana.commandline.launcher.application.LauncherApplication.start(LauncherApplication.java:94)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:655)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1491)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.thrift.transport.TSocket.open(TSocket.java:221)
... 52 more
!ENTRY com.aptana.editor.js.formatter 4 0 2017-03-23 10:26:16.915
!MESSAGE (Build null) [ERROR] com.aptana.formatter.epl/debug java.net.ConnectException: Connection refused: connect
!STACK 1
org.eclipse.core.runtime.CoreException: java.net.ConnectException: Connection refused: connect
at com.pandora.nodejs.service.NodeService.action(NodeService.java:120)
at com.pandora.nodejs.service.NodeService.format(NodeService.java:37)
at com.aptana.editor.js.formatter.JSFormatter.format(JSFormatter.java:281)
at com.aptana.formatter.ScriptFormattingStrategy.doFormat(ScriptFormattingStrategy.java:191)
at com.aptana.formatter.ScriptFormattingStrategy$1.run(ScriptFormattingStrategy.java:115)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.aptana.formatter.ScriptFormattingStrategy.format(ScriptFormattingStrategy.java:111)
at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:193)
at org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:142)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:977)
at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1535)
at com.aptana.editor.common.viewer.CommonProjectionViewer.doOperation(CommonProjectionViewer.java:356)
at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
at org.eclipse.ui.menus.CommandContributionItem.access$18(CommandContributionItem.java:815)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2720)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2684)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2518)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:682)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:671)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.aptana.rcp.IDEApplication.start(IDEApplication.java:319)
at com.aptana.commandline.launcher.application.LauncherApplication.start(LauncherApplication.java:94)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:655)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1491)
Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect
at org.apache.thrift.transport.TSocket.open(TSocket.java:226)
at com.pandora.nodejs.NodejsClient.innerRequest(NodejsClient.java:79)
at com.pandora.nodejs.NodejsClient.request(NodejsClient.java:67)
at com.pandora.nodejs.service.NodeService.action(NodeService.java:109)
... 49 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.thrift.transport.TSocket.open(TSocket.java:221)
... 52 more
!SUBENTRY 1 com.pandora.nodejs 4 0 2017-03-23 10:26:16.915
!MESSAGE java.net.ConnectException: Connection refused: connect
!STACK 0
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect
at org.apache.thrift.transport.TSocket.open(TSocket.java:226)
at com.pandora.nodejs.NodejsClient.innerRequest(NodejsClient.java:79)
at com.pandora.nodejs.NodejsClient.request(NodejsClient.java:67)
at com.pandora.nodejs.service.NodeService.action(NodeService.java:109)
at com.pandora.nodejs.service.NodeService.format(NodeService.java:37)
at com.aptana.editor.js.formatter.JSFormatter.format(JSFormatter.java:281)
at com.aptana.formatter.ScriptFormattingStrategy.doFormat(ScriptFormattingStrategy.java:191)
at com.aptana.formatter.ScriptFormattingStrategy$1.run(ScriptFormattingStrategy.java:115)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.aptana.formatter.ScriptFormattingStrategy.format(ScriptFormattingStrategy.java:111)
at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:193)
at org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:142)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:977)
at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1535)
at com.aptana.editor.common.viewer.CommonProjectionViewer.doOperation(CommonProjectionViewer.java:356)
at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
at org.eclipse.ui.menus.CommandContributionItem.access$18(CommandContributionItem.java:815)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2720)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2684)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2518)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:682)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:671)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.aptana.rcp.IDEApplication.start(IDEApplication.java:319)
at com.aptana.commandline.launcher.application.LauncherApplication.start(LauncherApplication.java:94)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:655)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1491)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.thrift.transport.TSocket.open(TSocket.java:221)
... 52 more
前端_小白
你这个问题最后是怎么解决的
2018-05-21 10:56
Lazybo
防火墙的原因
2018-06-21 16:25