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.
Created attachment 165092 [details] Log file I was told to attach by the IDE I created a simple project to show the problem. The project contains an app.js file as follows : var express = require('express'); var app = express(); app.use(express.static(__dirname + '/public')); app.listen(3000); console.log("Listening on port 3000"); and a package.json as follows: { "name": "mys", "version": "0.0.1", "description": "Mysite", "main": "app.js", "author": "Me", "license": "BSD-2-Clause", "dependencies": { "express": "^4.8.0" } } With this setup I can start, stop and restart the debugger multiple times and memory usage stays around 600Mb with no problems. I then add the following to the dependicies section of package.json and do an npm install: "@angular/animations": "~4.3.1", "@angular/common": "~4.3.1", "@angular/compiler": "~4.3.1", "@angular/compiler-cli": "~4.3.1", "@angular/core": "~4.3.1", "@angular/forms": "~4.3.1", "@angular/http": "~4.3.1", "@angular/platform-browser": "~4.3.1", "@angular/platform-browser-dynamic": "~4.3.1", "@angular/platform-server": "~4.3.1", "@angular/router": "~4.3.1", "@angular/tsc-wrapped": "~4.3.1", "@angular/upgrade": "~4.3.1", "angular-in-memory-web-api": "~0.3.2", "core-js": "^2.4.1", "rxjs": "^5.1.0", "systemjs": "0.19.39", "zone.js": "^0.8.4" I am using ngignore and have .nbignore in my node_modules folder. When I attempt to start, stop and restart the debugger multiple times with the above modules installed, it will increase its memory usage to over 1Gb quickly and then hang. I do not understand why adding the Angular modules causes the debugger to hang when my app.js does not even reference any modules other than express. I also tried deleting the package.json file but left the modules installed and this did not help. Any help would be appreciated since I cannot continue development on my Angular project using Netbeans at this time. I also attempted to report this directly thru the IDE but it hung trying to upload and recommended I enter it directly on this site and attach the messages.log.1. Thanks
I now realize that if I move the node_modules folder up out of the project root, or point the project src to a folder under the root, it works fine. Not sure now if this is a bug or just a problem in how I am setting up my project ? Thanks