Javascript 在Zeit上部署带有gatsby源的gatsby应用程序时出错
我的代码: 每次我(在Zeit上)构建盖茨比应用程序时,都会收到以下错误消息:Javascript 在Zeit上部署带有gatsby源的gatsby应用程序时出错,javascript,json,reactjs,content-management-system,gatsby,Javascript,Json,Reactjs,Content Management System,Gatsby,我的代码: 每次我(在Zeit上)构建盖茨比应用程序时,都会收到以下错误消息: ERROR #11321 PLUGIN "gatsby-transformer-json" threw an error while running the onCreateNode lifecycle: Could not find function loadNodeContent for plugin gatsby-source-buttercms Error: Could not find functi
ERROR #11321 PLUGIN
"gatsby-transformer-json" threw an error while running the onCreateNode lifecycle:
Could not find function loadNodeContent for plugin gatsby-source-buttercms
Error: Could not find function loadNodeContent for plugin gatsby-source-butter cms
在使用gatsby develope
进行开发时,我从未遇到过这个错误
在github上有一个类似的问题。
但我不知道答案是什么意思,我也不知道这是否是同一个问题
请帮我找出哪里出了问题,谢谢。如果您还没有得到答案,可以暂时解决这个问题。您链接的github本身非常有用 将源代码作为本地插件使用。 将源代码中的媒体类型从
application/json
更改为text/plain
。这应该是一个有效的临时解决办法