Nodejs run configuration is missing in intellij 2018.1 - node.js

I upgraded Intellj IDEA from 2017.3 to 2018.1. Now, when I opened a nodejs project in IDEA, the run configuration is shown as broken. Also, the run configuration list doesn't have Nodejs in it, so I cannot create a new Nodejs run configuration either.
What has happened to Nodejs run configuration? Is there any way to get it back?

The auto update prompt for the plugins has not worked for some reason. I manually checked for an update for the Nodejs plugin and an update was there. When plugin is updated, the run configuration started to work.

I had a similar problem.
my intellij was set with node configuration and one day the configuration was marked with an X and I couldn't recover it nor create a new one.
upgrading the NodeJS version to (at least) v191.6183.20 and it solved the issue.
ctrl + alt + s --> plugins --> NodeJS click update.

Related

How can I uninstall a package that was installed by Nuxeo Studio?

I used Nuxeo Studio for research purposes and created a Schema and added it to my local server using the Nuxeo Chrome Extension is hot deploy.
Now, what if I need to uninstall the package?
I tried to use the ./nuxeoctl mp-uninstall <package-name-installer-by-studio> to achieve that. Apparently, it worked. However, my local server fails to start again and, when the hot reload is called again, it hangs up saying:
data/myWorkflow.zip not found in <path>/nuxeo-server-10.10-tomcat/nxserver/bundles/<package>.jar
also:
org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.core.api.NuxeoException: Failed to invoke operation: Service.HotReloadStudioSnapshot
I am led to think that this is badly done/programmed: there should be an error proof way to uninstall the packages installed by Studio, since Studio won't be the only tool to be used in a big project.
I managed to install/uninstall the package with another strategy: I didn't hot reload it with Nuxeo Chrome Extension. I just downloaded the package and installed it using Nuxeo-CLI. Then, I was able to uninstall it without any issues.
I noticed that this gives me more control since I can keep the package that was generated, I can inspect what changes were made (and understand what happened in a more open way), and then install/uninstall it manually.
Since I didn't figure out the problem that is with Nuxeo Chrome Extension, I chose not to use it for a while.

Onlyoffice plugins not working when 4.4.3 (build:7) to 5.0.4 (build:15)

When we upgraded onlyoffice server (integration mode) on linux, in-build plugins as well as plugins i customized are stopped working.
It is not giving any kind of errors in console as well.
My observation is that, it is not able to hit init() on my myplugin.js file.
Please guide me to fix this
It would be better if you discard current installation and re do it again from scratch.

Not able to hit any Breakpoints in WebStorm, even in very simple setting

Even in an extremely simple setting, I'm unable to get any breakpoints in my code to hit. See the attached screenshot. After hitting 'Debug "main.js"', the execution is never interrupted.
Since you are using Node v7.x ... the solution for now is:
either downgrade Node to v6.x
or WebStorm to older version.
From this official comment:
Are you using Node 7.x? It's a known issue unfortunately, see https://youtrack.jetbrains.com/issue/WEB-24629. Hidden option for turning dev tools protocol support off (js.debugger.node.use.inspect=false) will be included in next 2016.3 update - see https://youtrack.jetbrains.com/issue/WEB-24629#comment=27-1809582.
For now the only workaround is downgrading Node.js to 6.x :( Full Node 7 support (using v8 inspector) will be available in 2017.1
You may also try latest EAP build of 2017.1 -- https://confluence.jetbrains.com/display/WI/WebStorm+EAP -- it may have that fix already available (sorry, not using NodeJS myself so cannot confirm it).

problems with creating an osgi plugin

I am currently using the XSP starter kit from openntf. I didnt change the template at all i just wanted to try it first with the starter kit before i am going to change it.
I am following the documentation on notesin9 and everything works fine until i want to build the update site.
Whenever i try to build it i got the error message:
Error
Reason:
Problem during export
Details:
BUILD FAILED
java.lang.NullPointerException
As this message is not very useful has anybody experienced the same issue?
After a couple of days of testing i found out: The error doesnt go to the log. It happens from time to time if you have the same plugin installed on the client where you also build a newer version of the same plugin. The way to fix that is to manually uninstall the plugin from your client, restart, and then build it again. I can reproduce it after a couple of rebuilds

I can't create a new node.js project with webstorm 9.0.1

I just installed the webstorm 9.0.1 trial windows version, and when I try to create a new project in the project type list I don't see any reference to node.js applications.
I see in all the documentation that node.js project template is supported.
I'm missing something?
thanks,
Luca
I know this is a bit late, but perhaps the boilerplate samples were removed from 9.01? I'm showing the same thing and came across this post regarding version 8 -
Webstorm IDE missing Node.js Boilerplate Project type
EDIT :
And omg, the issue was I didn't scroll down :) I don't see the boilerplate app referenced in the above link, but there is an Express seed app.
NodeJS project types missing in WebStorm
If you don't see any reference to Node.js, then you're most likely missing the plugin.
Go to File > Settings > Plugins and check if NodeJS is visible and checked. If it's not there, select Browse repositories, select NodeJS and Install plugin and restart your IDE.

Resources