Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 76 forks source link

Nodeclipse 0.9 installation errors #109

Closed ghost closed 10 years ago

ghost commented 10 years ago

Trying to install nodeclipse 0.9 in Eclipse 4.3, I am getting 'missing requirement' errors, as shown below:

screen shot 2014-01-03 at 10 34 09

Apparently a problem with a required coffee script module:

Cannot complete the install because one or more required items could not be found. Software being installed: Nodeclipse Core and Node.js 0.9.0.201401030549 (org.nodeclipse.feature.group 0.9.0.201401030549) Missing requirement: Nodeclipse 0.9.0.201401030549 (org.nodeclipse.ui 0.9.0.201401030549) requires 'package org.nodeclipse.bundle.coffee 0.0.0' but it could not be found Cannot satisfy dependency: From: Nodeclipse Core and Node.js 0.9.0.201401030549 (org.nodeclipse.feature.group 0.9.0.201401030549) To: org.nodeclipse.ui [0.9.0.201401030549]

paulvi commented 10 years ago

OK, ~you are using Enide p2f file, right?~ It is all in your hands.

Try to install from update p2 site .

I have 10+ Eclipses, but all of them have Nodeclipse installed, no place to try.

Please share when solved.

UPDATE: How exactly do you install? Better place would be http://stackoverflow.com/tags/nodeclipse

paulvi commented 10 years ago

There is also update site archive at http://sf.net/p/nodeclipse

ghost commented 10 years ago

I was trying to install from this site: http://dl.bintray.com/nodeclipse/nodeclipse/0.9.0/ - is this p2 site?

I was installing from Eclipse's Help > Install New Software, the site above being added in Eclipse preferences.

ghost commented 10 years ago

But this archive is a full nodeclipse package: I was trying to add nodeclipse as plugins to my current eclipse stack.

Are you implying I should forget about trying to be too smart?

paulvi commented 10 years ago

While I am trying to help to solve the problem, I am also want to understand how exactly you have run into it.

So a problem + a solution would help other users.

ghost commented 10 years ago

Other users potentially and myself for sure...

I am trying to install nodeclipse in my existing eclipse platform as below:

screen shot 2014-01-03 at 12 36 34

In this process I am installing nodeclipse using Install New Software as below:

screen shot 2014-01-03 at 12 32 28

Every items being selected, eclipse is getting errors from nodeclispe repository and decline full installation:

screen shot 2014-01-03 at 12 33 38

2 first items being critical - let's look at the errors:

screen shot 2014-01-03 at 12 33 51

Making it simpler, I retry unselecting mongodb terminal integration and phantomjs :

screen shot 2014-01-03 at 12 34 55

The new list is shorter but the 2 remaining OFF are not optional

screen shot 2014-01-03 at 12 35 02

It says a coffee script package was not found but the error message could be meaningless...

Is there such a package in the installation script. If so - is its path correct?

Which is only one part of the actual problem since I am using mongodb a lot and was expecting much from its terminal integration in nodejs...

PaulWMorgan commented 10 years ago

I'm getting the same error. I do not have coffee installed. The latest release today which I'm installing has a dependency on this coffee package.

ghost commented 10 years ago

Something else I have to say: I have updated successfully my former nodeclipse 0.8.0 package to 0.9.0 and was even able to install the mongo shell integration on this one successfully.

What's not working is installing nodeclipse 0.9.0 as a plugin into another eclipse built. That's what I was reporting - to ring the bell about a problem that doesn't seem so difficult to reproduce and hopefully address...

EvilTrev commented 10 years ago

I'm having the same problems with the coffee dependency that is missing (I've used both urls and downloaded files). Mac OSX, 64bit, latest JDK/Node/Eclipse etc. Currently using "org.nodeclipse.site - http://dl.bintray.com/nodeclipse/nodeclipse/0.9.0/" I get the following:

Cannot complete the install because one or more required items could not be found. Software being installed: Nodeclipse Core and Node.js 0.9.0.201401030549 (org.nodeclipse.feature.group 0.9.0.201401030549) Missing requirement: Nodeclipse 0.9.0.201401030549 (org.nodeclipse.ui 0.9.0.201401030549) requires 'package org.nodeclipse.bundle.coffee 0.0.0' but it could not be found Cannot satisfy dependency: From: Nodeclipse Core and Node.js 0.9.0.201401030549 (org.nodeclipse.feature.group 0.9.0.201401030549) To: org.nodeclipse.ui [0.9.0.201401030549]

ghost commented 10 years ago

I suppose I was able to update nodeclipse 0.8.0 because the coffee package was already installed and that I couldn't install 0.9.0 on a standard eclipse because this package was not installed yet.

What's puzzling me in this package is its version number: 0.0.0

Anything is possible in the open source arena but to me 0.0.0 is not a sensible version number for a released project: it should not take too long to check org.nodeclipse.bundle.coffee version 0.0.0 is really available on this repository, by name and by version number. Knowing error messages are not always correctly set and this one could be misleading.

geekmug commented 10 years ago

The update site archive for 0.9.0 from http://sourceforge.net/projects/nodeclipse/files/update-site-archive/ also has the same problem. The update site archive for 0.8.0 works just fine though. As a workaround, you can install from the 0.8.0 update site archive and then update to 0.9.0 from there.

paulvi commented 10 years ago

OK, there is something with release build this time. I have only noticed #108 (that is now seems to be related) I always test that I can install Nodeclipse from bintray update p2 site, but as I already have 10+ Eclipses, I did not clean install for 0.9.0.

coffee and express bundle were added since 0.5.0 by @tomotaro1065 , and were always installed before without any problems. (That was done to avoid authorization problem on OSX for node to install those modules automatically, as Windows user I cannot try to use this flow)

@nodeleaf In Eclipse version number: 0.0.0 means any version. @geekmug Yes, bintray update p2 site and zip contents are identical.

paulvi commented 10 years ago

The problem is localized section below was not uncommented in org.nodeclipse.site category.xml when releasing

   <category-def name="npm-bundle" label="Optional Node.js modules bundles">
      <description>
         No need to install these plug-ins, if you have already installed these Node.js packages using npm (e.g. npm installl express -g).
         See also #109, these bundle's jars are required, and installed even when corresponding features are not selected.
      </description>
   </category-def>
   <feature url="features/org.nodeclipse.bundle.coffee.feature_1.6.3.qualifier.jar" id="org.nodeclipse.bundle.coffee.feature" version="1.6.3.qualifier">
      <category name="npm-bundle"/>
   </feature>
   <feature url="features/org.nodeclipse.bundle.express.feature_3.2.5.qualifier.jar" id="org.nodeclipse.bundle.express.feature" version="3.2.5.qualifier">
      <category name="npm-bundle"/>
   </feature>

that causes that actually required .jar's did not come into released p2 site.

I will do build/released again later today. The sources that will be released are just pushed in GitHub . Welcome to try.

@nodeleaf Patrick, if you are to use MongoDB Shell integration, please raise new issue. It was quickly implemented Kanatoko/MonjaDB/17 as I did not find the same in MonjaDB

ghost commented 10 years ago

if you are to use MongoDB Shell integration, please raise new issue.

@PaulVI I am not sure yet to understand what I could do with the mongo shell integration in Nodeclipse. I am using mongo shell daily from a terminal and could certainly test it within Nodeclipse to report issue if any. But for now I am justing trying to grab what this tool's concept in Nodeclipse is exactly and how I could start it from the IDE. Any explanation or pointer would be welcomed indeed.

rpaterson commented 10 years ago

I was able to fix this by installing coffee-script using npm:

npm install -g coffee-script

After that I was able to install nodeclipse in to Eclipse

paulvi commented 10 years ago

@rpaterson Roy, it is quite surprising as this #109 is Eclipse install time issue. So it is even before Nodeclipse gets control to check if coffee-script is installed. So cannot take it until someone confirms this (impossible) thing.

paulvi commented 10 years ago

New update p2 site is http://dl.bintray.com/nodeclipse/nodeclipse/0.9.05/

Zip will be later, as sourceforge now doesn't have upload button :-0

rpaterson commented 10 years ago

Ah I think I see what I did. I was experimenting with stuff and looked at the 0.8.0 p2 site. Then later I tried to install 0.9.0 again and it worked, because I had "Contact all update sites" checked and it must have used the coffee bundle from the 0.8.0 site. Installing coffee-script using npm was a red herring - sorry.

paulvi commented 10 years ago

@rpaterson Yes, with "Contact all update sites" and having any previous Nodeclipse p2 site, the missing jars would be found. This #109 issue was problem for new users.