cblanc / sws_gathers

NSL Gathers App
http://gathers.ensl.org
8 stars 9 forks source link

'npm audit' is not working and provides generic error message #174

Open brcaswell opened 4 years ago

brcaswell commented 4 years ago

In terminal (while in the project directory scope), type and run npm audit (or npm audit fix)

With default or properly configured npm registry - the operation should run an audit against the local dependency packages (and attempt to fix it if you specified fix).

Although this issue is observed with an improperly message indicating the configured npm registry is either not responding or is potential not able to handle audit requests, this is a project specific issue.

The issue relates to not specifying the full file extension .git and\or not providing the protocol.

https://github.com/cblanc/sws_gathers/blob/e2dc987d6d2aa4eacd7a36cd7a744866241915c2/package.json#L22


to resolve this, modify url to be git+https://github.com/cblanc/sws_gathers.git in the packages.json file.

I will include the resolving of this issue in a Pull Request that I will create shortly.