notion-clone icon indicating copy to clipboard operation
notion-clone copied to clipboard

npm install has too many errors

Open aliscie opened this issue 5 years ago • 2 comments

starting with ``` ../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCo

ending with 

npm ERR! [email protected] postinstall: node scripts/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall 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/apple/.npm/_logs/2020-08-09T07_57_14_629Z-debug.log

aliscie avatar Aug 09 '20 07:08 aliscie

That is just node-sass messing up as always. Try replaceing node-sass with a newer version in package.json. "node-sass": "^4.12 .0", works for me

aukris avatar Sep 07 '20 04:09 aukris

after npm I node-sass now I got

npm ERR! Unexpected end of JSON input while parsing near '..."^3.0.3","cpr":"^3.0.'

aliscie avatar Sep 10 '20 12:09 aliscie