Closed ajvazquez closed 9 years ago
Just got the same error with the master branch, so I may be missing some of the dependencies...
@ajvazquez : this bug is related to the configuration of the NodeJS package. At the beginning of the project, we started using Debian Wheezy that does not include the NodeJS package within the default .deb packages of the official Debian repositories. Therefore, in order to install the NodeJS package we had to download it directly from the NodeJS development website and compile it "manually". As you might have notice, the compilation of that package is actually invoked by the installation script, but it requires of the user manually configuring it.
To keep using Debian Wheezy with that installer, the user has to manually change the version of the generated package within the menu of the NodeJS installer, from "v0.12.1-1" to "0.12.1-1".
Another option is to take a look at the next Debian version and find out whether it already includes the NodeJS package as part of the official distribution. In case it does, we can try to migrate the script and the default supported Debian version from Wheezy to the Testing release, which is already mature enough (I am using it in two desktops right now and it should become the stable official release soon).
Let me know what you think.
Thank you! That worked, thanks for all the information.
Later I got another error "No such directory" related to line 386 on the same script. That was solved just by creating the folder $webservices_dir/website/static/scripts/ manually and re-running the script.
(Edited: moved second part to new issue)
@ajvazquez : could we separate this new problem in a new issue? This way, we can close this one and open a new issue (better organization)... thanks!
@ajvazquez : concerning this issue, I have just checked in one of the computers that I have at home that NodeJS and NPM are now part of the official repositories of Debian for the testing release (Jessy). I have already realized that the AngularJS interface has been moved to a separate repository, therefore this issue should never apply again.
The correct answer for this bug is to delete the installation of the AngularJS dependencies (Node, NPM and Bower packages), since now that is all handled from within the "satnet-ng" repository and should never appear again as part of the server installation.
I think that's a good idea. I'll move the second part of the message into a new issue.
Thank you for the answer and for the info.
After runing:
Output: