Jekyll Yeoman未使用github安装/更新最新版本的generator

Jekyll Yeoman未使用github安装/更新最新版本的generator,jekyll,yeoman,yeoman-generator,Jekyll,Yeoman,Yeoman Generator,我正在使用生成器jekyllrb,它使用grunt。当我在终端中运行grunt命令时,它会给出这些错误 Gruntfile.js line 63 col 24 Strings must use singlequote. line 64 col 21 Strings must use singlequote. line 65 col 34 Strings must use singlequote. line 74 col 42 Strings must use si

我正在使用生成器jekyllrb,它使用grunt。当我在终端中运行grunt命令时,它会给出这些错误

Gruntfile.js
  line 63  col 24  Strings must use singlequote.
  line 64  col 21  Strings must use singlequote.
  line 65  col 34  Strings must use singlequote.
  line 74  col 42  Strings must use singlequote.
  line 91  col 24  Strings must use singlequote.
  line 92  col 21  Strings must use singlequote.
  line 93  col 34  Strings must use singlequote.

✖ 7 problems
由于Grunfile.js文件中这些行的双引号,它给出了错误

...
options: {
          server: {
            baseDir: [
              ".jekyll",
              ".tmp",
              "<%= yeoman.app %>"
...
。。。
选项:{
服务器:{
baseDir:[
“.jekyll”,
“.tmp”,
""
...
但是,当我查看的github页面时,可以看到这个问题已经解决,GrunFile.js使用单引号的行提交

Gruntile.js在一年前将Gruntile.js中的双引号替换为单引号


我试图删除/重新安装并更新jekyllrb,但都不起作用。它仍然下载带有双引号的jekylrrb。

.jshintrc
中,您可以更改

"quotmark": "single",


请参阅jshint doc

工作。因为我的Grunfile中有双引号和单引号,所以我将其更改为true,文档中说-->true,如果您不想强制执行某个特定样式。但我仍然不明白为什么我不能通过终端安装提交版本的jekyllrb?这看起来真的像是一个linter警告。您有吗存储库?不,我是通过npm
npm install-g generator jekyllrb安装它的。我重复一遍,为了帮助您调试,github存储库中是否有可用的代码?不,我没有。我根据您的建议解决了这个问题,我想问的是为什么我之前给出的命令没有下载更新版本的generator jekyllrb(在github页面中)哪个没有这个问题?
"quotmark": "double",