timboudreau / nb-nodejs

NodeJS support for NetBeans, originally hosted on netbeans.org
MIT License
91 stars 12 forks source link

Node.js Projects depends on plugins in versions that are not available from the update center #37

Closed chanibal closed 10 years ago

chanibal commented 10 years ago

Tried with manual download of nodejs-2.21.npm and the http://timboudreau.com/modules/modules update center.

Netbeans 8.0.1, downloaded today (settings imported from NB7.4), OSX Mavericks.

Some plugins require plugin Progress API to be installed.
The plugin Progress API is requested in version >= 1.40 but only 1.38.1 was found. The following plugin is affected:       Node.js Projects
Some plugins require plugin Ant-Based Project Support to be installed.
The plugin Ant-Based Project Support is requested in version >= 1.62 but only 1.60.1 was found. The following plugin is affected:       Node.js Projects
Some plugins require plugin File System API to be installed.
The plugin File System API is requested in version >= 9.0 but only 8.12.1 was found. The following plugin is affected:       Node.js Projects
Some plugins require plugin Datasystems API to be installed.
The plugin Datasystems API is requested in version >= 7.61 but only 7.57.2 was found. The following plugin is affected:       Node.js Projects
Some plugins require plugin Utilities API to be installed.
The plugin Utilities API is requested in version >= 9.3 but only 8.39.1 was found. The following plugin is affected:       Node.js Projects
Some plugins require plugin org.openide.util.ui to be installed.
The plugin org.openide.util.ui is requested in version 9.3. The following plugin is affected:       Node.js Projects Some plugins not installed to avoid potential installation problems.

Any idea if this is an issue with the plugin?

timboudreau commented 10 years ago

It looks like you're using an ancient version of NetBeans, and the NodeJS plugin asks for versions of libraries it uses that are newer than what you have. Just upgrade your NetBeans install and you'll be fine.

Jalle19 commented 10 years ago

I get this too, using 8.0.2 upgraded from 8.0.1. Not exactly ancient...

timboudreau commented 10 years ago

If you're getting the plugin from my update server - i.e. it's installed as an update server in Tools | Plugins, the dependency will automatically be resolved and simple.project.templates will be downloaded from the update server too.

Are you doing this some other way?

Jalle19 commented 10 years ago

No, I'm using your repository.

chanibal commented 10 years ago

@Jalle19, what is your OS? I have tried to fix this plugin like 3 times already, even put it up for a bounty on stack overflow: http://superuser.com/questions/846493/cannot-install-netbeans-plugin-netbeans-instalation-corrupt

GurjinderSingh commented 10 years ago

facing same problem have used it on netbeans 8.0.1 was working but i have reinstalled ubuntu now its not installing on netbeans 8.0.1 or 8.0.2

any help

have already added url to NetBeans Update Center http://timboudreau.com/modules/modules

update: i have installed in netbeans 8.0.1 but still failed to install on 8.0.2

campersau commented 9 years ago

I am also facing the same problem using netbeans 8.0.2 on windows 8.1 and the http://timboudreau.com/modules/modules repository.

Some plugins require plugin Progress API to be installed.
The plugin Progress API is requested in version >= 1.40 but only 1.38.1 was found.  
The following plugin is affected:       Node.js Projects 

Some plugins require plugin Ant-Based Project Support to be installed.
The plugin Ant-Based Project Support is requested in version >= 1.62 but only 1.60.1 was found.  
The following plugin is affected:       Node.js Projects 

Some plugins require plugin File System API to be installed.
The plugin File System API is requested in version >= 9.0 but only 8.12.1 was found.  
The following plugin is affected:       Node.js Projects 

Some plugins require plugin Datasystems API to be installed.
The plugin Datasystems API is requested in version >= 7.61 but only 7.57.2 was found.  
The following plugin is affected:       Node.js Projects 

Some plugins require plugin Utilities API to be installed.
The plugin Utilities API is requested in version >= 9.3 but only 8.39.1 was found.  
The following plugin is affected:       Node.js Projects 

Some plugins require plugin org.openide.util.ui to be installed.
The plugin org.openide.util.ui is requested in version 9.3.  
The following plugin is affected:       Node.js Projects  

Some plugins not installed to avoid potential installation problems.
Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Windows 8 version 6.2 running on amd64; Cp1252; de_DE (nb)
timboudreau commented 9 years ago

I'm trying to make sense of this. The actual dependencies of the module, in the JAR manifest, are correct and they are not the versions from the error message - so this is a little baffling.

The only thing I can think of is that perhaps the dependency on simple.project.templates causes it to pick up the dev version of that from my update center, which will depend on versions that are too new (it's part of the javacard cluster from NetBeans proper, something that I wrote when I still worked for Sun on NetBeans).

Try downloading just this copy of version 2.24 and see if it can be installed. Here are the actual dependencies from its manifest:

org.netbeans.api.annotations.common/1 > 1.14.1, 
org.netbeans.modules.extexecution/2 > 1.31.1, 
org.netbeans.modules.projectapi/1 > 1.46.1, 
org.netbeans.modules.projectuiapi/1 > 1.57.1.8, 
org.netbeans.api.java.classpath/1 > 1.33.1
org.netbeans.modules.simple.project.templates > 1.11.1, 
org.netbeans.modules.swing.validation/2 > 1.18.1, 
org.netbeans.api.progress/1 > 1.28.1, 
org.netbeans.modules.options.api/1 > 1.26.1, 
org.openide.actions > 6.26.1,
org.openide.awt > 7.46.1, 
org.openide.filesystems > 7.62.1
org.openide.io > 1.31.1, 
org.openide.loaders > 7.37.1, 
org.openide.nodes > 7.28.1, 
org.openide.text > 6.49.1, 
org.openide.util > 8.25.1, 
org.openide.util.lookup > 8.15.1, 
org.netbeans.modules.queries/1 > 1.28.1,
org.openide.modules > 7.32.1, 
org.openide.dialogs > 7.25.1, 
org.openide.explorer > 6.45.1, 
org.openide.windows > 6.55.1
chanibal commented 9 years ago

I have removed your update site before testing the new nbm.

It installed correctly. After that netbeans froze, but it looks good after a restart, created a new project, ran it and it works fine.

Fixed for me.

cm-rayalab commented 9 years ago

Hello, same problem here using Windows 7 64bit environment, I used netbeans 8.0.2 and after 7.4 and the problem is the same.

I downloaded the plugin directly from the server, GitHub and NetBeans Update Center and the result are same.

Please check it, thanx!

timboudreau commented 9 years ago

It's fixed. Download version 2.2.6 here or by adding http://timboudreau.com/modules/modules as an update server.

I eliminated a dependency on junit which should have been a test dependency, and just copied the source of the simple-project-templates into the module, so that dependency could be eliminated. One or the other was the root of the problem - I suspect simple-project-templates, since that's available from the NetBeans update center.

cm-rayalab commented 9 years ago

I tested on Netbeans 7.4, now the plugin is available to install.

But, when I try to create a new project the window says: "No such bundle org.netbeans.modules.nodejs.borrowed.Bundle"

After that, just for test, I installed Avatar NodeJS Platform, and still the same message about the Bundle.

netbeansnodejs

Thanx!

timboudreau commented 9 years ago

Argh - simple-project-templates is an Ant project, and I left its Bundle.properties next to the sources instead of putting it under src/main/resources.

Fixed in version 2.27 - try it now.

On Tue, Dec 23, 2014 at 11:14 PM, Claudio Moya Tapia < notifications@github.com> wrote:

I tested on Netbeans 7.4, now the plugin is available to install.

But, when I try to create a new project the window says: "No such bundle org.netbeans.modules.nodejs.borrowed.Bundle"

[image: netbeansnodejs] https://cloud.githubusercontent.com/assets/9848730/5545702/29cd37f6-8b0a-11e4-92f4-cc8aa2fe60e4.png

Thanx!

— Reply to this email directly or view it on GitHub https://github.com/timboudreau/nb-nodejs/issues/37#issuecomment-68024704 .

http://timboudreau.com

cm-rayalab commented 9 years ago

I tested on netbeans 7.4 and all works fine :+1: Also I tested using expressjs and works cool! This plugin makes easy to work on NodeJS.

Thank you and Merry Xmas! nodejsok nodejsok_2