You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2021. It is now read-only.
error code ELIFECYCLE
error errno 1
error [email protected] prepare: `npm run snyk-protect`
error Exit status 1
error Failed at the [email protected] 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
The text was updated successfully, but these errors were encountered:
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?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:The text was updated successfully, but these errors were encountered: