代码之家  ›  专栏  ›  技术社区  ›  joe

由于文件中的错误,eclipse neon bower安装无法运行

  •  0
  • joe  · 技术社区  · 8 年前

    我创建javascript项目和bower.json。在添加依赖项之后,如下所示,给我项目上的红色十字->bower_组件->;自举->;grunt->更改版本。js文件和查询->src文件:

     "dependencies":{
      "bootstrap":"~3.3.7"
    

    }

    这是第一个问题:

     Description    Resource    Path    Location    Type
    Expected name at 2:1    .eslintrc.json  /gruntTest/bower_components/jquery/src  line 2  JSON Problem
    

    第二个问题:

    Description Resource    Path    Location    Type
    Unexpected token ILLEGAL    change-version.js   /gruntTest/bower_components/bootstrap/grunt line 1  JavaScript Problem
    
    1 回复  |  直到 8 年前
        1
  •  0
  •   joe    8 年前

    我假设eclipse neon不需要下载NodeEclipse&Enide并尝试从头开始练习,这就是错误发生的原因。

    Nodeclipse&在eclipse中练习NodeJ之前,必须安装Enide。 我遵循了这个链接,工作得很好。 http://www.nodeclipse.org