justinformentin / gatsby-v2-tutorial-starter Goto Github PK
View Code? Open in Web Editor NEWGatsby V2 Starter - product of step by step tutorial
License: MIT License
Gatsby V2 Starter - product of step by step tutorial
License: MIT License
Description of home page(/) and post five is same.
How to add description to each pages?
Great starter theme. I found an issue I thought you might want to fix.
The About page displays body text that is not responsive on mobile screens similar in size to iPhone 6/7/8. The text is displayed with one character per line.
Visit https://gatsby-tutorial-starter.netlify.com/about in Chrome. Enable device toolbar and select iPhone 6/7/8 or visit page on one of those mobile devices in Safari.
The body text of the About page is responsive to smaller screens.
Hi I followed this tutorial but i am struggling to get logo URL correct on my site !!
I am getting static prefix in my logo resource
https://mystifying-stonebraker-592b0a.netlify.app/static/logo/banner.png
Any idea what am i doing Wrong?
I get this in the console: warning Attempting to create page "/tags/", but page "/tags" already exists. This could lead to non-deterministic routing behavior
I might have time in the upcoming days to fix it and make a pull request.
It looks like the cover images for blog posts receive a blue filter or hue. This hue is not present when the cover image is being used the cards. I am trying to override this styling but I am having difficulty finding where it could be.
Much appreciated and thank you for this beautiful starter!
Hi! I've been trying to hammer at getting this up and running using the command
gatsby new my-site https://github.com/justinformentin/gatsby-v2-tutorial-starter
van-wboye01-mac:locomath_gatsby wboyer$ gatsby new my-site https://github.com/justinformentin/gatsby-v2-tutorial-starter
info Creating new site from git:
Cloning into 'my-site'...
remote: Enumerating objects: 319, done.
remote: Total 319 (delta 0), reused 0 (delta 0), pack-reused 319
Receiving objects: 100% (319/319), 2.18 MiB | 22.00 KiB/s, done.
success Created starter directory layout
info Installing packages...
> [email protected] install /Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents
> node install
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Connection closed while downloading tarball file
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated:
ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
X(Boolean)
^
../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext()) \
^
<scratch space>:201:1: note: expanded from here
ToBoolean
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:2523:3: note: 'ToBoolean' has
been explicitly marked deprecated here
V8_DEPRECATE_SOON("ToBoolean can never throw. Use Local version.",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated:
BooleanValue can never throw. Use Isolate version.
[-Wdeprecated-declarations]
X(bool, Boolean)
^
../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext()); \
^
<scratch space>:208:1: note: expanded from here
BooleanValue
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:2561:3: note: 'BooleanValue'
has been explicitly marked deprecated here
V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:307:29: note: expanded
from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to
function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:5380:3: note: 'New' declared
here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:58: error: expected '(' for
function-style cast or type construction
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~^
../../nan/nan_implementation_12_inl.h:356:60: error: expected expression
return v8::StringObject::New(value).As<v8::StringObject>();
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in
'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Applications/Xcode10.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in
'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(wrap->handle_.IsNearDeath());
~~~~~~~~~~~~~ ^
/Applications/Xcode10.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated:
ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
X(Boolean)
^
../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext()) \
^
<scratch space>:201:1: note: expanded from here
ToBoolean
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:2523:3: note: 'ToBoolean' has
been explicitly marked deprecated here
V8_DEPRECATE_SOON("ToBoolean can never throw. Use Local version.",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated:
BooleanValue can never throw. Use Isolate version.
[-Wdeprecated-declarations]
X(bool, Boolean)
^
../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext()); \
^
<scratch space>:208:1: note: expanded from here
BooleanValue
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:2561:3: note: 'BooleanValue'
has been explicitly marked deprecated here
V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:307:29: note: expanded
from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to
function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:5380:3: note: 'New' declared
here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:58: error: expected '(' for
function-style cast or type construction
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~^
../../nan/nan_implementation_12_inl.h:356:60: error: expected expression
return v8::StringObject::New(value).As<v8::StringObject>();
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in
'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Applications/Xcode10.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in
'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(wrap->handle_.IsNearDeath());
~~~~~~~~~~~~~ ^
/Applications/Xcode10.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
../fsevents.cc:43:32: error: no template named 'Handle' in namespace 'v8'
static void Initialize(v8::Handle<v8::Object> exports);
~~~~^
In file included from ../fsevents.cc:73:
../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagNone").ToLoca...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMustScanSubDi...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUserDropped")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagKernelDropped...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagEventIdsWrapp...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagHistoryDone")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagRootChanged")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMount").ToLoc...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:97:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUnmount").ToL...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:98:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemCreated")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:99:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRemoved")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemInodeMeta...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:101:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRenamed")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemModified"...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemFinderInf...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemChangeOwn...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:105:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemXattrMod"...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsFile")....
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsDir").T...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsSymlink...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
../fsevents.cc:76:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
../fsevents.cc:76:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
~~~~^
../fsevents.cc:76:48: error: expected '(' for function-style cast or type
construction
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
~~~~~~~~~~^
../fsevents.cc:76:50: error: use of undeclared identifier 'exports'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
../fsevents.cc:76:58: error: expected ';' after top level declarator
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
;
../fsevents.cc:43:32: error: no template named 'Handle' in namespace 'v8'
static void Initialize(v8::Handle<v8::Object> exports);
~~~~^
In file included from ../fsevents.cc:73:
../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagNone").ToLoca...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMustScanSubDi...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUserDropped")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagKernelDropped...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagEventIdsWrapp...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagHistoryDone")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagRootChanged")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMount").ToLoc...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:97:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUnmount").ToL...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:98:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemCreated")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:99:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRemoved")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemInodeMeta...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:101:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRenamed")...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemModified"...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemFinderInf...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemChangeOwn...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:105:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemXattrMod"...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsFile")....
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsDir").T...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:73:
../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsSymlink...
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
../fsevents.cc:76:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
22 warnings and 11 errors generated.
../fsevents.cc:76:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
~~~~^
../fsevents.cc:76:48: error: expected '(' for function-style cast or type
construction
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
~~~~~~~~~~^
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
../fsevents.cc:76:50: error: use of undeclared identifier 'exports'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
../fsevents.cc:76:58: error: expected ';' after top level declarator
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
;
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/wboyer/.nvm/versions/node/v12.4.0/bin/node" "/Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64" "--napi_version=4" "--node_abi_napi=napi"
gyp ERR! cwd /Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/wboyer/.nvm/versions/node/v12.4.0/bin/node /Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=4 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:200:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/Users/wboyer/.nvm/versions/node/v12.4.0/bin/node" "/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents
node-pre-gyp ERR! node -v v12.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
Failed to execute '/Users/wboyer/.nvm/versions/node/v12.4.0/bin/node /Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=4 --node_abi_napi=napi' (1)
22 warnings and 11 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/wboyer/.nvm/versions/node/v12.4.0/bin/node" "/Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64" "--napi_version=4" "--node_abi_napi=napi"
gyp ERR! cwd /Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/fsevents
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
> [email protected] install /Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
info sharp Detected globally-installed libvips v8.8.1
info sharp Building from source via node-gyp
TOUCH Release/obj.target/libvips-cpp.stamp
CXX(target) Release/obj.target/sharp/src/common.o
In file included from ../src/common.cc:24:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to
function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/wboyer/.node-gyp/12.4.0/include/node/v8.h:5380:3: note: 'New' declared
here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
In file included from ../src/common.cc:24:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:58: error: expected '(' for
function-style cast or type construction
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~^
../../nan/nan_implementation_12_inl.h:356:60: error: expected expression
return v8::StringObject::New(value).As<v8::StringObject>();
^
In file included from ../src/common.cc:24:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in
'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Applications/Xcode10.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
In file included from ../src/common.cc:24:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in
'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(wrap->handle_.IsNearDeath());
~~~~~~~~~~~~~ ^
/Applications/Xcode10.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
In file included from ../src/common.cc:27:
../src/common.h:78:20: error: no member named 'Handle' in namespace 'v8'
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
~~~~^
../src/common.h:78:37: error: expected '(' for function-style cast or type
construction
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
~~~~~~~~~~^
../src/common.h:78:39: error: use of undeclared identifier 'obj'
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
^
../src/common.h:78:56: error: expected '(' for function-style cast or type
construction
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
~~~~~~~~~~~ ^
../src/common.h:79:29: error: no member named 'Handle' in namespace 'v8'
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
~~~~^
../src/common.h:79:46: error: expected '(' for function-style cast or type
construction
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
~~~~~~~~~~^
../src/common.h:79:48: error: use of undeclared identifier 'obj'
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
^
../src/common.h:79:65: error: expected '(' for function-style cast or type
construction
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
~~~~~~~~~~~ ^
../src/common.h:80:38: error: no member named 'Handle' in namespace 'v8'
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
~~~~^
../src/common.h:80:55: error: expected '(' for function-style cast or type
construction
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
~~~~~~~~~~^
../src/common.h:80:57: error: use of undeclared identifier 'obj'
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
^
../src/common.h:80:74: error: expected '(' for function-style cast or type
construction
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
~~~~~~~~~~~ ^
../src/common.h:81:37: warning: variable templates are a C++14 extension
[-Wc++14-extensions]
template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, s...
^
../src/common.h:81:48: error: no member named 'Handle' in namespace 'v8'
template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, s...
~~~~^
../src/common.h:81:65: error: expected '(' for function-style cast or type
construction
template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, s...
~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Release/obj.target/sharp/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/wboyer/.nvm/versions/node/v12.4.0/bin/node" "/Users/wboyer/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/wboyer/kbm-devspc/git/locomath_gatsby/my-site/node_modules/sharp
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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:
ERROR
Command failed: npm install
Error: Command failed: npm install
- index.js:236
[lib]/[gatsby-cli]/[execa]/index.js:236:11
- task_queues.js:89 processTicksAndRejections
internal/process/task_queues.js:89:5
I made sure that I had brew install libffi
and that I added export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/opt/libffi/lib/pkgconfig"
to my .bash_profile
(as per this post. I also:
npm config set python "/usr/local/bin/python2.7" -g
as per this post and this postsudo chown -R $(whoami) ~/.npm/
sudo chown -R $(whoami) ~/.npmrc
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
sudo chown -R $(whoami) ~/.node-gyp
brew install vips
(as per these instructions) because of issues installing sharp
and fsevents
(as seen in the errors above).However, despite successfully npm install sharp@latest fsevents@latest
, the package-lock.json
shows that the versions of these packages used by this project's dependencies are still the old ones that don't work with node 12.4.0
.
Is there something I'm missing here, or would it be possible to update the dependencies of this project? Thank you for your time in reading!
Bug Description
Problem running gatsby development server.
To Reproduce
Steps to reproduce the behavior:
Install gatsby-v2-tutorial-starter with gatsby new my-site https://github.com/justinformentin/gatsby-v2-tutorial-starter
cd my-site
Start development server gatsby develop
Development server fails to start:
gm@vanilla:~/projects/gatsby/blog $ gatsby develop
success open and validate gatsby-configs — 0.013 s
success load plugins — 0.304 s
success onPreInit — 0.848 s
success delete html and css files from previous builds — 0.018 s
success initialize cache — 0.041 s
success copy gatsby files — 0.117 s
success onPreBootstrap — 0.012 s
success source and transform nodes — 0.127 s
success building schema — 0.437 s
success createPages — 0.075 s
success createPagesStatefully — 0.036 s
success onPreExtractQueries — 0.004 s
success update schema — 0.245 s
success extract queries from components — 0.212 s
success run graphql queries — 2.164 s — 25/25 11.56 queries/second
success write out page data — 0.005 s
success write out redirect data — 0.001 s
Generating image thumbnails [==============================] 51/51 7.2 secs 100%
info bootstrap finished - 12.47 s
⢀ onPostBootstrapdone generating icons for manifest
success onPostBootstrap — 0.262 s
here ./.cache/gatsby-browser-entry.js
Module not found: Error: Can't resolve 'gatsby-link' in '/home/gm/projects/gatsby/blog/.cache'
resolve 'gatsby-link' in '/home/gm/projects/gatsby/blog/.cache'
Parsed request is a module
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./.cache)
resolve as module
looking for modules in /home/gm/projects/gatsby/blog/node_modules
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
/home/gm/projects/gatsby/blog/.cache/node_modules doesn't exist or is not a directory
/home/gm/projects/gatsby/node_modules doesn't exist or is not a directory
/home/gm/projects/node_modules doesn't exist or is not a directory
/home/gm/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /home/gm/projects/gatsby/blog/node_modules
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
looking for modules in /home/gm/projects/gatsby/blog/src
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./src)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./src/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/src/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/src/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/src/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/src/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/src/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/src/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/src/gatsby-link doesn't exist
/home/gm/projects/gatsby/blog/.cache/node_modules doesn't exist or is not a directory
/home/gm/projects/gatsby/node_modules doesn't exist or is not a directory
/home/gm/projects/node_modules doesn't exist or is not a directory
/home/gm/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /home/gm/projects/gatsby/blog/node_modules
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json]
[/home/gm/projects/gatsby/blog/.cache/node_modules]
[/home/gm/projects/gatsby/node_modules]
[/home/gm/projects/node_modules]
[/home/gm/node_modules]
[/home/node_modules]
[/node_modules]
[/home/gm/projects/gatsby/blog/src/gatsby-link]
[/home/gm/projects/gatsby/blog/src/gatsby-link.mjs]
[/home/gm/projects/gatsby/blog/src/gatsby-link.js]
[/home/gm/projects/gatsby/blog/src/gatsby-link.jsx]
[/home/gm/projects/gatsby/blog/src/gatsby-link.wasm]
[/home/gm/projects/gatsby/blog/src/gatsby-link.json]
@ ./.cache/gatsby-browser-entry.js 3:0-84 29:0-32:48 29:0-32:48 29:0-32:48 29:0-32:48 29:0-32:48 29:0-32:48
@ ./node_modules/gatsby-plugin-sitemap/gatsby-ssr.js
@ ./.cache/api-runner-ssr.js
@ ./.cache/develop-static-entry.js
error There was an error compiling the html.js component for the development server.
See our docs page on debugging HTML builds for help https://goo.gl/yL9lND
Error: ./.cache/gatsby-browser-entry.js
Module not found: Error: Can't resolve 'gatsby-link' in '/home/gm/projects/gatsby/blog/.cache'
resolve 'gatsby-link' in '/home/gm/projects/gatsby/blog/.cache'
Parsed request is a module
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./.cache)
resolve as module
looking for modules in /home/gm/projects/gatsby/blog/node_modules
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
/home/gm/projects/gatsby/blog/.cache/node_modules doesn't exist or is not a directory
/home/gm/projects/gatsby/node_modules doesn't exist or is not a directory
/home/gm/projects/node_modules doesn't exist or is not a directory
/home/gm/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /home/gm/projects/gatsby/blog/node_modules
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
looking for modules in /home/gm/projects/gatsby/blog/src
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./src)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./src/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/src/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/src/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/src/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/src/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/src/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/src/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/src/gatsby-link doesn't exist
/home/gm/projects/gatsby/blog/.cache/node_modules doesn't exist or is not a directory
/home/gm/projects/gatsby/node_modules doesn't exist or is not a directory
/home/gm/projects/node_modules doesn't exist or is not a directory
/home/gm/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /home/gm/projects/gatsby/blog/node_modules
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules)
using description file: /home/gm/projects/gatsby/blog/package.json (relative path: ./node_modules/gatsby-link)
no extension
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
.mjs
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs doesn't exist
.js
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js doesn't exist
.jsx
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx doesn't exist
.wasm
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm doesn't exist
.json
/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json doesn't exist
as directory
/home/gm/projects/gatsby/blog/node_modules/gatsby-link doesn't exist
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.mjs]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.js]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.jsx]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.wasm]
[/home/gm/projects/gatsby/blog/node_modules/gatsby-link.json]
[/home/gm/projects/gatsby/blog/.cache/node_modules]
[/home/gm/projects/gatsby/node_modules]
[/home/gm/projects/node_modules]
[/home/gm/node_modules]
[/home/node_modules]
[/node_modules]
[/home/gm/projects/gatsby/blog/src/gatsby-link]
[/home/gm/projects/gatsby/blog/src/gatsby-link.mjs]
[/home/gm/projects/gatsby/blog/src/gatsby-link.js]
[/home/gm/projects/gatsby/blog/src/gatsby-link.jsx]
[/home/gm/projects/gatsby/blog/src/gatsby-link.wasm]
[/home/gm/projects/gatsby/blog/src/gatsby-link.json]
@ ./.cache/gatsby-browser-entry.js 3:0-84 29:0-32:48 29:0-32:48 29:0-32:48 29:0-32:48 29:0-32:48 29:0-32:48
@ ./node_modules/gatsby-plugin-sitemap/gatsby-ssr.js
@ ./.cache/api-runner-ssr.js
@ ./.cache/develop-static-entry.js
gm@vanilla:~/projects/gatsby/blog $
Expected behavior
Development server should start.
Is there functionallity build in to display posts using pagination?
It would be nice to display multiple posts over more pages instead having +10 cards show up on the blog page.
How would you make the post cover image optional? Currently if you omit the cover in .md files the project will not build.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.