I did the following steps:
- git clone https://github.com/nibtehaz/NORTH-app.git
- curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
- sudo apt-get install -y nodejs
npm install # which caused the following error
The following packages have unmet dependencies: nodejs : Conflicts: npm npm : Depends: node-gyp (>= 3.6.2~) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
As suggested in the comments, I did
sudo apt install node-gyp Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: node-gyp : Depends: libnode-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages
What did I miss?