lundi 24 août 2015

Ember-CLI Not Resolving Ember 2.0

I've created a brand new project using ember-cli v1.13.8.

I created a new project and then adjusted the bower.json file for Ember 2.0 (it is currently configured for Ember 1.13.8). I receive the following error after running bower install ember@2.0.0

bower ember-data#2.0.0          cached http://ift.tt/1Jvuy4u
bower ember-data#2.0.0        validate 2.0.0 against http://ift.tt/1Jvuy4u
bower                        ENOTFOUND Package ember@2.0.0 not found

Any idea what's wrong with my configuration? It's disappointing this is broken right out of the box.

Andrew

Here are my config files....

package.xml

   {
      "name": "ars-app",
      "version": "0.0.0",
      "description": "Small description for ars-app goes here",
      "private": true,
      "directories": {
        "doc": "doc",
        "test": "tests"
      },
      "scripts": {
        "build": "ember build",
        "start": "ember server",
        "test": "ember test"
      },
      "repository": "",
      "engines": {
        "node": ">= 0.10.0"
      },
      "author": "",
      "license": "MIT",
      "devDependencies": {
        "broccoli-asset-rev": "^2.1.2",
        "ember-cli": "1.13.8",
        "ember-cli-app-version": "0.5.0",
        "ember-cli-babel": "^5.1.3",
        "ember-cli-content-security-policy": "0.4.0",
        "ember-cli-dependency-checker": "^1.0.1",
        "ember-cli-htmlbars": "0.7.9",
        "ember-cli-htmlbars-inline-precompile": "^0.2.0",
        "ember-cli-ic-ajax": "0.2.1",
        "ember-cli-inject-live-reload": "^1.3.1",
        "ember-cli-qunit": "^1.0.0",
        "ember-cli-release": "0.2.3",
        "ember-cli-sri": "^1.0.3",
        "ember-cli-uglify": "^1.2.0",
        "ember-data": "2.0.0",
        "ember-disable-proxy-controllers": "^1.0.0",
        "ember-export-application-global": "^1.0.3"
      }
    }

bower.json

{
  "name": "ars-app",
  "dependencies": {
    "ember": "2.0.0",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.4",
    "ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
    "ember-data": "2.0.0",
    "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
    "ember-qunit": "0.4.9",
    "ember-qunit-notifications": "0.0.7",
    "ember-resolver": "~0.1.18",
    "jquery": "^1.11.3",
    "loader.js": "ember-cli/loader.js#3.2.1",
    "qunit": "~1.18.0"
  }
}




Aucun commentaire:

Enregistrer un commentaire