我如何在本地主机上运行Google API?

时间:2020-03-17 18:21:26

标签: php api intellij-idea xampp

该项目是一个网站,我们正在使用google api,我从PC上的git中提取该项目以在localhost上运行它,然后从与google api相关的文件中收到错误消息,它的工作正常在服务器互联网上,但在本地主机上,我得到了错误。我应该在intellij上添加更多插件还是更改代码?

错误来自该行

const mapLeaves = (fn) => (tree) =>
  Array .isArray (tree)
    ? tree .map (x => mapLeaves (fn) (x))
  : typeof tree == "object"
    ? Object .fromEntries (Object .entries (tree) .map (
        ([k, v]) => [k, mapLeaves (fn) (v)]
      ))
  : fn (tree)

消息错误

警告:require_once(C:\ xampp \ htdocs \ wordpresstest \ www \ wordpress \ wp-content \ mu-plugins \ stats_plugins \ inc / google / vendor / autoload.php):无法打开流:没有此类文件或第3行中C:\ xampp \ htdocs \ wordpresstest \ www \ wordpress \ wp-content \ mu-plugins \ stats_plugins \ inc \ stats_plugins-sections_stats.php中的目录

0 个答案:

没有答案
相关问题