【问题标题】:eclipse-neon bower-install can't run due to error in the file由于文件中的错误,eclipse-neon bower-install 无法运行
【发布时间】:2017-05-14 04:10:33
【问题描述】:

我创建了 javascript 项目和 bower.json。添加如下依赖项后,我会在 project->bower_components->bootstrap->grunt->change-version.js 文件和 query->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

【问题讨论】:

    标签: npm-install bower-install eclipse-neon


    【解决方案1】:

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

    在 Eclipse 中练习 nodejs 之前必须安装 Nodeclipse 和 Enide。 我点击了这个链接并且工作得很好。 http://www.nodeclipse.org

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-12-03
      • 1970-01-01
      • 2016-05-03
      • 2021-07-08
      • 2018-03-07
      • 2014-12-14
      • 1970-01-01
      相关资源
      最近更新 更多