Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.
This repository was archived by the owner on May 28, 2021. It is now read-only.

snyk error while running 'npm install'. #140

@HJVeronica

Description

@HJVeronica
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 ]

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions