every time I build the platform because I added new "Models" (command ./update_nrp build in the user_scripts folder to rebuilt from GazeboRosPackage and the following brainvisualizer, ExDFrontend, nrpBackendProxy, SlurmClusterMonitor, gzweb and Models folders), I encounter this error:

npm ERR! A complete log of this run can be found in:npm ERR! /home/elisa/.npm/_logs/2018-02-16T11_54_15_216Z-debug.logbrainvisualizer INSTALL ERROR

If I download again from the repository the folders brainvisualizer, ExDFrontend, nrpBackendProxy, SlurmClusterMonitorand and I do again part of the installation procedure, the error is not showed anymore. Is there any other faster way to solve this error?Thank you a lot.Kind regards,

This is fine. If removing the node_modules does not work then I am not sure what could be wrong. In any case we are working on impoving the build script so that it detects if something goes wrong with the javascript packages, and heal them automatically. It should be available in one week or two. Until then I am afraid that you can only remove the node_modules and rebuild.

I eventually solved the problem, even though it is still not clear what was wrong.Below I write my solution just in case someone else encountering the same problem before that the new build script will be ready.

I deleted the brainvisualizer, ExDFrontend, nrpBackendProxy, SlurmClusterMonitorand folders from the NRP folder

I had the same error, and trying the approach of removing node_modules also led to the same result. But I tried it with Elisas approach and it seems to work after building all.But you can correct the last git clone line to git clone https://bitbucket.org/hbpneurorobotics/SlurmClusterMonitor

I do look forward to the fix, as I have to redo this procedure every time I rebuild/update, because I get the same error, and it takes a ton of time