Wordpress根主题安装错误

时间:2014-10-01 05:09:14

标签: wordpress node.js gruntjs bower bower-install

我使用roots主题进行wordpress但很难安装。我安装了所有必需的工具,例如:Nodejs,npm,grunt-cli和bower,但没有运气。

在我的主题文件夹的最后,使用命令npm install提供此错误。

enter image description here

对此有很多搜索,但没有找到解决此问题。

此外,当我在节点命令提示符下使用命令(grunt dev)时,会产生错误。我认为这个错误取决于以前的错误。

enter image description here

有人在这里解释我使用这个主题的错误。在此先感谢。

1 个答案:

答案 0 :(得分:0)

试试这个:

  1. 从主题文件夹中删除“node_modules”文件夹
  2. 在命令提示符下运行此代码“npm install clean”
  3. http://discourse.roots.io/t/roots-makes-its-debut-at-wordcamp-lax-2014/2042/2

    我希望这会有所帮助。 =)