烬-CLI - 鲍尔不正确安装(Ember-cli - Bower not installing

2019-10-21 04:39发布

我一直在试图克隆并获得运行的余烬,CLI的项目我的团队一直在努力。 我NPM安装,然后安装鲍尔,然后烬服务器。 这出现:

Path or pattern "bower_components/moment/moment.js" did not match any files [string exception]

这被认为是瞬间的文件夹命名为momentjs代替。 奇怪的。 我更名并再次尝试:

Path or pattern "bower_components/ember-simple-auth/simple-auth.amd.js" did not match any files [string exception]

灰烬-简单AUTH甚至不应该在这个项目上,我的队友告诉告诉我,他删除它。 这是怎么回事?

我bower.json:

{
  "name": "brkb-web",
  "dependencies": {
    "handlebars": "~1.3.0",
    "jquery": "^1.11.1",
    "ember": "1.7.0",
    "ember-data": "1.0.0-beta.10",
    "ember-resolver": "~0.1.7",
    "loader": "stefanpenner/loader.js#1.0.1",
    "ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
    "ember-load-initializers": "stefanpenner/ember-load-initializers#0.0.2",
    "ember-qunit": "0.1.8",
    "ember-qunit-notifications": "0.0.4",
    "qunit": "~1.15.0",
    "font-awesome": "~4.2.0",
    "pikaday": "~1.2.0",
    "momentjs": "~2.8.3",
    "fancybox": "~2.1.5",
    "ember-validations": "http://builds.dockyard.com.s3.amazonaws.com/ember-validations/ember-validations-latest.js"
  },
  "devDependencies": {
    "bootstrap": "~3.2.0"
  }
}

我的package.json:

{
  "name": "brkb-web",
  "version": "0.0.0",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test"
  },
  "repository": "https://github.com/stefanpenner/ember-cli",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "body-parser": "^1.2.0",
    "broccoli-asset-rev": "0.1.1",
    "broccoli-ember-hbs-template-compiler": "^1.6.1",
    "ember-cli": "0.0.46",
    "ember-cli-datepicker": "^1.2.1",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.0.2",
    "ember-cli-qunit": "0.1.0",
    "ember-cli-simple-auth": "^0.6.7",
    "ember-data": "1.0.0-beta.10",
    "express": "^4.8.5",
    "glob": "^4.0.5"
  }
}

如果有其他任何你需要知道的,我可以编辑这个职位它。

Answer 1:

你还在使用余烬-CLI-简单AUTH包,将导入灰烬简单验证亭子包。 如果你想从项目中删除灰烬简单验证你要删除这一点。



文章来源: Ember-cli - Bower not installing properly