Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

unable to install contentful to gatsby #86

Open
atharvsharma1998 opened this issue Sep 9, 2020 · 0 comments
Open

unable to install contentful to gatsby #86

atharvsharma1998 opened this issue Sep 9, 2020 · 0 comments

Comments

@atharvsharma1998
Copy link

hi I'm trying to install contentful but when I type the command
npm install -s gatsby-source-contentful@1.3.54 it does not install and gives the error
info sharp Using cached /Users/atharvsharma/.npm/_libvips/libvips-8.6.1-darwin-x64.tar.gz TOUCH Release/obj.target/libvips-cpp.stamp CXX(target) Release/obj.target/sharp/src/common.o In file included from ../src/common.cc:27: ../src/common.h:82:20: error: no member named 'Handle' in namespace 'v8' bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); ~~~~^ ../src/common.h:82:37: error: expected '(' for function-style cast or type construction bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); ~~~~~~~~~~^ ../src/common.h:82:39: error: use of undeclared identifier 'obj' bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); ^ ../src/common.h:82:56: error: expected '(' for function-style cast or type construction bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); ~~~~~~~~~~~ ^ ../src/common.h:83:29: error: no member named 'Handle' in namespace 'v8' std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); ~~~~^ ../src/common.h:83:46: error: expected '(' for function-style cast or type construction std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); ~~~~~~~~~~^ ../src/common.h:83:48: error: use of undeclared identifier 'obj' std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); ^ ../src/common.h:83:65: error: expected '(' for function-style cast or type construction std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); ~~~~~~~~~~~ ^ ../src/common.h:84:37: warning: variable templates are a C++14 extension [-Wc++14-extensions] template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { ^ ../src/common.h:84:48: error: no member named 'Handle' in namespace 'v8' template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { ~~~~^ ../src/common.h:84:65: error: expected '(' for function-style cast or type construction template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { ~~~~~~~~~~^ ../src/common.h:84:67: error: use of undeclared identifier 'obj' template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { ^ ../src/common.h:84:84: error: expected '(' for function-style cast or type construction template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { ~~~~~~~~~~~ ^ ../src/common.h:84:89: error: expected ';' at end of declaration template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { ^ ; ../src/common.h:84:90: error: expected unqualified-id template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { ^ ../src/common.h:87:26: warning: variable templates are a C++14 extension [-Wc++14-extensions] template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { ^ ../src/common.h:87:37: error: no member named 'Handle' in namespace 'v8' template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { ~~~~^ ../src/common.h:87:54: error: expected '(' for function-style cast or type construction template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { ~~~~~~~~~~^ ../src/common.h:87:56: error: use of undeclared identifier 'obj' template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { ^ ../src/common.h:87:73: error: expected '(' for function-style cast or type construction template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { ~~~~~~~~~~~ ^ ../src/common.h:87:78: error: expected ';' at end of declaration template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [Release/obj.target/sharp/src/common.o] Error 1

please help how can I resolve this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant