Gatsby 如何建立盖茨比网站与Netlify合作?

Gatsby 如何建立盖茨比网站与Netlify合作?,gatsby,Gatsby,我正在尝试使用盖茨比建立一个网站,但是我想部署它并允许其他人使用Netlify编辑它 我正在讨论如何建立一个项目 gatsby new raven https://gatsby-starter-netlify-cms 我得到了以下信息(要长得多,但只是一个片段): In-file include from./。/nan/nan.h./。/nan/nan.h::272222: : ../../nan/nan\u object\u wrap.h..//nan/nan\u object\u wrap

我正在尝试使用盖茨比建立一个网站,但是我想部署它并允许其他人使用Netlify编辑它

我正在讨论如何建立一个项目

gatsby new raven https://gatsby-starter-netlify-cms
我得到了以下信息(要长得多,但只是一个片段):

In-file include from./。/nan/nan.h./。/nan/nan.h::272222:
:
../../nan/nan\u object\u wrap.h..//nan/nan\u object\u wrap.h::2424::2525::errorerror::在“nan::Persistent”中没有名为“IsNearDeath”的成员
“Nan::Persistent”中没有名为“IsNearDeath”的成员
断言(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
断言(persistent().IsNearDeath());
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/assert.h~~~~~~~~~~~~~~~^:
93:25:注意:从宏'assert'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/assert.h展开
... 
致命错误:发出的错误太多,正在停止[-ferror limit=]
生成1个警告和20个错误。
make:**[Release/obj.target/sharp/src/common.o]错误1
哎呀!构建错误
哎呀!堆栈错误:`make`失败,退出代码:2
哎呀!堆栈位于ChildProcess.onExit(/usr/local/lib/node_modules/npm/node_modules/node gyp/lib/build.js:262:23)
哎呀!ChildProcess.emit上的堆栈(events.js:200:13)
哎呀!在Process.ChildProcess.\u handle.onexit(internal/child\u Process.js:272:12)处堆栈
哎呀!达尔文系统18.6.0
哎呀!命令“/usr/local/ceral/node/12.3.1/bin/node”“/usr/local/lib/node_modules/npm/node_modules/node gyp/bin/node gyp.js”“重建”
哎呀!cwd/Users/timfong/raven/node_模块/sharp
哎呀!节点-v12.3.1
哎呀!节点gyp-v3.8.0
哎呀!不好
npm警告盖茨比起动器网络-cms@1.1.3没有存储库字段。
npm警告可选跳过可选依赖项:fsevents@1.2.7(节点\单元模块/fsevents):
npm警告可选跳过可选依赖项:fsevents@1.2.7install:`node install`
npm警告可选跳过可选依赖项:退出状态1
npm错误!代码失效循环
npm错误!错误1
npm错误!sharp@0.21.3安装:`(节点安装/libvips&&node安装/dll复制和预构建安装)| |(节点gyp重建和节点安装/dll复制)`
npm错误!退出状态1
npm错误!
npm错误!失败sharp@0.21.3安装脚本。
npm错误!这可能不是npm的问题。上面可能还有其他日志输出。
npm错误!此运行的完整日志可在以下位置找到:
错误命令失败:npm安装

我从初学者的网页复制了URL

您是否成功地通过了本教程的
设置您的开发环境
部分?您是否成功地通过了本教程的
设置您的开发环境
部分?
In file included from In file included from ../../nan/nan.h../../nan/nan.h::27222722:
:
../../nan/nan_object_wrap.h../../nan/nan_object_wrap.h::2424::2525::  errorerror: : no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(persistent().IsNearDeath());
           ~~~~~~~~~~~~ ^
    assert(persistent().IsNearDeath());
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/assert.h           ~~~~~~~~~~~~ ^:
93:25: note: expanded from macro 'assert'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/assert.h


... 

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 (/usr/local/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.6.0
gyp ERR! command "/usr/local/Cellar/node/12.3.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/timfong/raven/node_modules/sharp
gyp ERR! node -v v12.3.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN gatsby-starter-netlify-cms@1.1.3 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.21.3 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 sharp@0.21.3 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