error code ELIFECYCLE
error errno 1
error vue-express-mongo-boilerplate@0.9.0 prepare: `npm run snyk-protect`
error Exit status 1
error Failed at the vue-express-mongo-boilerplate@0.9.0 prepare script.
error This is probably not a problem with npm. There is likely additional logging output above.
verbose exit [ 1, true ]
So, I just removed these 2 lines from the package.json file for now:
"prepublish": "npm run snyk-protect",
"prepare": "npm run snyk-protect"
npm install worked after then, but I wanna know why I have been getting this error and how to fix it properly.
FYI, I've tried patch -v and got this:
GNU patch 2.7.6
Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc.
Copyright (C) 1988 Larry Wall
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Larry Wall and Paul Eggert
Adding patch to the path was all I needed to do to get it working on Windows. The patch version is the same. What was the output before the error lines?
Tried updating Git (https://git-scm.com/download/win), and add
C:\Program Files\Git\usr\bin\
to the PATH. But it didn't work.So, I just removed these 2 lines from the
package.json
file for now:npm install
worked after then, but I wanna know why I have been getting this error and how to fix it properly.FYI, I've tried
patch -v
and got this: