I am trying to install the age-viewer from GitHub by following these steps:
Cloning the repository
Changing directory to age-viewer
Running "npm run setup"
However, I am encountering issues with missing packages and 34 vulnerabilities (3 moderate, 22 high, 9 critical). I have attempted to resolve this by running "npm audit fix --force", but it did not work.
I am looking for a solution to fix the missing packages and vulnerabilities in the age-viewer package that I am trying to install from GitHub.
Cloning the age-viewer repository from GitHub
Changing directory to age-viewer
Running "npm run setup"
Running "npm audit fix --force" to resolve issues with missing packages and vulnerabilities
CodePudding user response:
This error can arise due to a different reason. You can try some of the following steps to solve this error.
- Try using node version 14.16.0.
- If you are using WSL then make sure that the node version for your system's parent os and WSl is the same.
I had the same issue while installing, the 1st solution mentioned above worked for me [for ubuntu 22.04].
CodePudding user response:
I encountered a similar error. Here is how I solved it:
- Removed node_modules directory from root, frontend and backend folders.
- Removed package-lock.json from root, frontend and backend folders.
- Ensured node version is in range 14.16.0 - 14.21.2 (I switched to 14.16.0 using nvm)
- Cd to root dir of the AGE-Viewer
npm run setup
npm run start
Hope this helps.