Comments (3)
Hey @jeantristan! It seems that you are using Node v11. Unfortunately, [email protected] requires Node v8. Could you please try this version?
from galton.
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.
Got it working thanks to the following command before npm install:
npm run snyk-protect
from galton.
Related Issues (20)
- Incorrect isochrones? HOT 3
- Docker is dying for the request outside of the map HOT 2
- Version 10 of node.js has been released
- Build failure on Windows 7 x64 HOT 1
- Couldn't change --cellSize parameter
- An in-range update of osrm-bindings is breaking the build π¨ HOT 1
- An in-range update of snyk is breaking the build π¨ HOT 11
- the result is not right
- OSRM 5.19.0 compatibility HOT 4
- An in-range update of snyk is breaking the build π¨ HOT 1
- An in-range update of snyk is breaking the build π¨ HOT 63
- An in-range update of lint-staged is breaking the build π¨ HOT 1
- An in-range update of snyk is breaking the build π¨ HOT 18
- An in-range update of eslint-plugin-import is breaking the build π¨ HOT 1
- An in-range update of tape is breaking the build π¨ HOT 1
- An in-range update of lint-staged is breaking the build π¨
- An in-range update of prettier is breaking the build π¨ HOT 3
- Isochrone misscalculation.
- Canβt build isochrone for Irkutsk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galton.