简体   繁体   English

WordPress的根主题安装错误

[英]Wordpress roots theme installation ERROR

I'm using roots theme for wordpress but its to much hard to install. 我正在将roots主题用于wordpress,但是很难安装。 I'm installing all of its required tools such as: Nodejs, npm, grunt-cli and bower but no luck. 我正在安装其所有必需的工具,例如:Nodejs,npm,grunt-cli和bower,但是没有运气。

At the end in my theme folder using command npm install that providing this error. 最后,在我的主题文件夹中,使用命令npm install提供此错误。

在此处输入图片说明

Lots of searching regarding this but nothing found to fix this. 关于此的大量搜索,但没有找到解决此问题的方法。

Also when i'm using command (grunt dev) in node command prompt given error generated. 另外,当我在节点命令提示符中使用命令(grunt dev)时,将产生给定的错误。 I think this error depends on previous error. 我认为此错误取决于先前的错误。

在此处输入图片说明

Anybody here to explain where i'm wrong to use this theme. 这里的任何人都可以解释我在哪里错误使用此主题。 Thanks in Advance. 提前致谢。

try this: 尝试这个:

  1. delete the "node_modules" folder from your theme folder 从主题文件夹中删除“ node_modules”文件夹
  2. on your command prompt run this code "npm install clean" 在命令提示符下运行此代码“ npm install clean”

http://discourse.roots.io/t/roots-makes-its-debut-at-wordcamp-lax-2014/2042/2 http://discourse.roots.io/t/roots-makes-its-debut-at-wordcamp-lax-2014/2042/2

I hope this helps. 我希望这有帮助。 =) =)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM