Giter VIP home page Giter VIP logo

Comments (3)

stepankuzmin avatar stepankuzmin commented on June 15, 2024

Hey @jeantristan! It seems that you are using Node v11. Unfortunately, [email protected] requires Node v8. Could you please try this version?

from galton.

jeantristan avatar jeantristan commented on June 15, 2024

Totally sorry. It's written at the beginning of your documentation.
You were right.

If some mac user needs info about it: https://apple.stackexchange.com/questions/171530/how-do-i-downgrade-node-or-install-a-specific-previous-version-using-homebrew

But now I have another error:

> [email protected] prepublish /Users/chanegue/Code/galton
> npm run snyk-protect


> [email protected] snyk-protect /Users/chanegue/Code/galton
> snyk protect

An unknown error occurred. Please include the trace below when reporting to Snyk:

Error: 500
    at request (/Users/chanegue/Code/galton/node_modules/snyk/src/lib/snyk-test/run-test.ts:150:21)
    at /Users/chanegue/Code/galton/node_modules/snyk/src/lib/request/index.js:12:9
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] snyk-protect: `snyk protect`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] snyk-protect script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/chanegue/.npm/_logs/2019-05-17T16_35_35_880Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `npm run snyk-protect`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/chanegue/.npm/_logs/2019-05-17T16_35_35_944Z-debug.log

And at the end of the debug file:

3056 verbose stack Error: [email protected] prepublish: `npm run snyk-protect`
3056 verbose stack Exit status 1
3056 verbose stack     at EventEmitter.<anonymous> (/usr/local/Cellar/node@8/8.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
3056 verbose stack     at emitTwo (events.js:126:13)
3056 verbose stack     at EventEmitter.emit (events.js:214:7)
3056 verbose stack     at ChildProcess.<anonymous> (/usr/local/Cellar/node@8/8.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
3056 verbose stack     at emitTwo (events.js:126:13)
3056 verbose stack     at ChildProcess.emit (events.js:214:7)
3056 verbose stack     at maybeClose (internal/child_process.js:915:16)
3056 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
3057 verbose pkgid [email protected]
3058 verbose cwd /Users/chanegue/Code/galton
3059 verbose Darwin 18.5.0
3060 verbose argv "/usr/local/Cellar/node@8/8.16.0/bin/node" "/usr/local/bin/npm" "install"
3061 verbose node v8.16.0
3062 verbose npm  v6.4.1
3063 error code ELIFECYCLE
3064 error errno 1
3065 error [email protected] prepublish: `npm run snyk-protect`
3065 error Exit status 1
3066 error Failed at the [email protected] prepublish script.
3066 error This is probably not a problem with npm. There is likely additional logging output above.
3067 verbose exit [ 1, true ]

Any clue?

from galton.

jeantristan avatar jeantristan commented on June 15, 2024

Got it working thanks to the following command before npm install:

npm run snyk-protect

from galton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.