This repository was archived by the owner on May 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 736
snyk error while running 'npm install'. #140
Copy link
Copy link
Open
Description
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 ]
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:
"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
Metadata
Metadata
Assignees
Labels
No labels