complyue / bunyanconsole Goto Github PK
View Code? Open in Web Editor NEWPlugin for IntelliJ IDEs to pretty print JSON log through Bunyan
Home Page: https://plugins.jetbrains.com/plugin/8526
License: BSD 3-Clause "New" or "Revised" License
Plugin for IntelliJ IDEs to pretty print JSON log through Bunyan
Home Page: https://plugins.jetbrains.com/plugin/8526
License: BSD 3-Clause "New" or "Revised" License
On PHPStorm 2017.3.3
On windows 10 x64 it tries to use the shell script instead of the batch file.
Indeed, where bunyan
returns
C:\Users\user.user\AppData\Roaming\npm\bunyan
C:\Users\user.user\AppData\Roaming\npm\bunyan.cmd
but I think it's wrong.
java.io.IOException: **Cannot run program "C:\Users\user.user\AppData\Roaming\npm\bunyan": CreateProcess error=193, %1 non è un'applicazione di Win32 valida**
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:528)
at cyue.idea.plugins.bunyan.PipeProcessing.convert(PipeProcessing.java:48)
at cyue.idea.plugins.bunyan.BunyanFilter.applyFilter(BunyanFilter.java:111)
at com.intellij.execution.filters.CompositeInputFilter$1.applyFilter(CompositeInputFilter.java:72)
at com.intellij.execution.filters.CompositeInputFilter.applyFilter(CompositeInputFilter.java:50)
at com.intellij.execution.impl.ConsoleViewImpl.print(ConsoleViewImpl.java:583)
at com.jetbrains.php.composer.actions.log.ComposerLogConsoleView.lambda$null$0(ComposerLogConsoleView.java:161)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1003)
at com.jetbrains.php.composer.actions.log.ComposerLogConsoleView.lambda$print$1(ComposerLogConsoleView.java:160)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:424)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.g(IdeEventQueue.java:822)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: CreateProcess error=193, %1 non è un'applicazione di Win32 valida
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 30 more
First of I love the plugin. I am running on an Ubuntu desktop. Node is installed using NVM, bunyan is installed globally.
Since NVM is able to maintain several versions of node at once, all version specific paths (like node or binaries of globally packages installed under that specific version of node) are setup during initialization in the .bash_profile. Somehow the plugin seems not to be able to find the correct paths to neither bunyan nor node and to solve the problem is had to create hard links in /usr/local/bin for bunyan and node.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.