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.
Please try following: === aaa.js module.exports =11; === main.js var e = require(""); and invoke cc in the main.js' require call. It offers "aaa.js" but if you select it and complete it, result is var e = require("aaa"); which is wrong if you try to run it, NodeJS throws exception. The proper way to complete it would be var e = require("./aaa"); so NodeJS knows it comes from local file. Thank you Product Version: NetBeans IDE Dev (Build 201410190001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; en_US (nb)
Petre, could you please look at this? The same happens with folders and so on. Thank you
Should be fixed in web-main now. Thanks
Integrated into 'main-silver', will be available in build *201411040753* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a3a89180558f User: Petr Pisl <ppisl@netbeans.org> Log: #248197 - Completion completes invalid module from same folder
Thank you, verified Product Version: NetBeans IDE Dev (Build 201411060002) Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)