This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250009 - Cannot run file with NodeJS
Summary: Cannot run file with NodeJS
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-25 10:46 UTC by Vladimir Riha
Modified: 2015-01-29 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (13.50 KB, application/zip)
2015-01-25 10:46 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-01-25 10:46:14 UTC
Created attachment 151675 [details]
sample project

Please check the attached project. How I created it:
 - have the folder blog with package.json
 - opened it in IDE
 - enabled NodeJS in project properties, closed project properties
 - changed run configuration in project properties to NodeJS

 => when I right click on JS file, I'd expect to have run/debug action available, but they are not (I guess because site root == sources). I would be great to somehow handle this case (I think enabled these 2 actions also if site root == sources would be fine, right?). Marking as P2 because imho users not familiar with our NodeJS project setup won't know what to do to have these 2 actions

Thank you
Comment 1 Tomas Mysik 2015-01-28 10:29:49 UTC
Fixed, thanks.

http://hg.netbeans.org/web-main/rev/432bbdc6c2ad
Comment 2 Quality Engineering 2015-01-29 04:15:46 UTC
Integrated into 'main-silver', will be available in build *201501290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/432bbdc6c2ad
User: Tomas Mysik <tmysik@netbeans.org>
Log: #250009 - Cannot run file with NodeJS
Comment 3 Vladimir Riha 2015-01-29 16:39:05 UTC
Thank you, verified


Product Version: NetBeans IDE Dev (Build 201501290002)
Java: 1.8.0_25; Java HotSpot(TM) Client VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)