mainmatter / ember-simple-auth

A library for implementing authentication/authorization in Ember.js applications.
https://ember-simple-auth.com
MIT License
1.92k stars 603 forks source link

Unable to install - npm registry 404 #645

Closed cfmjohn closed 9 years ago

cfmjohn commented 9 years ago

I've tried to install via ember-cli but I'm hitting an error where I'm getting a 404 from https://registry.npmjs.org/ember-simple-auth Tested at Friday 28th Aug 10:30 (GMT)

Stack trace below.

ember install ember-simple-auth
version: 1.13.1
Registry returned 404 for GET on https://registry.npmjs.org/ember-simple-auth
Error: Registry returned 404 for GET on https://registry.npmjs.org/ember-simple-auth
    at CachingRegistryClient.<anonymous> (/opt/dir/dir_projects/cust/GoMobile/node_modules/ember-cli/node_modules/npm/node_modules/npm-registry-client/lib/request.js:239:14)
    at Request._callback (/opt/dir/dir_projects/cust/GoMobile/node_modules/ember-cli/node_modules/npm/node_modules/npm-registry-client/lib/request.js:170:14)
    at Request.self.callback (/opt/dir/dir_projects/cust/GoMobile/node_modules/ember-cli/node_modules/npm/node_modules/request/request.js:197:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/opt/dir/dir_projects/cust/GoMobile/node_modules/ember-cli/node_modules/npm/node_modules/request/request.js:1050:14)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/opt/dir/dir_projects/cust/GoMobile/node_modules/ember-cli/node_modules/npm/node_modules/request/request.js:996:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickCallback (node.js:355:11)
CostaRico commented 9 years ago

+1

I solved it with such package.js

{
  "name": "front",
  "version": "0.0.0",
  "description": "Small description for front goes here",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test"
  },
  "repository": "",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "broccoli-asset-rev": "^2.0.2",
    "broccoli-merge-trees": "^0.2.1",
    "broccoli-static-compiler": "^0.2.1",
    "broccoli-vulcanize": "*",
    "ember-browserify": "^1.0.1",
    "ember-cli": "1.13.8",
    "ember-cli-app-version": "0.5.0",
    "ember-cli-babel": "^5.1.3",
    "ember-cli-compass-compiler": "0.0.18",
    "ember-cli-content-security-policy": "0.4.0",
    "ember-cli-dependency-checker": "^1.0.0",
    "ember-cli-font-awesome": "0.0.9",
    "ember-cli-htmlbars": "1.0.0",
    "ember-cli-ic-ajax": "0.2.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-moment-shim": "0.6.2",
    "ember-cli-qunit": "0.3.13",
    "ember-simple-auth": "git://github.com/simplabs/ember-simple-auth.git#3ac98588d4739c1c41066e",
    "ember-cli-uglify": "^1.0.1",
    "ember-data": "1.13.8",
    "ember-disable-proxy-controllers": "^0.7.0",
    "ember-export-application-global": "^1.0.2",
    "ember-keyboard-shortcuts": "0.3.0",
    "ember-localstorage-adapter": "0.5.4",
    "jquery.mb.extruder": "^2.5.5",
    "switchery": "*",
    "tether-select": "^1.0.0",
    "validate.js": "^0.7.1"
  },
  "dependencies": {
    "bootstrap-tagsinput": "^0.5.0",
    "ember-moment": "^3.6.2",
    "moment": "^2.10.6"
  }
}

and bower.json

{
  "name": "front",
  "dependencies": {
    "ember": "2.0",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
    "ember-data": "2.0.0-beta.1",
    "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": "*",
    "loader.js": "ember-cli/loader.js#3.2.1",
    "qunit": "~1.17.1",
    "jqgrid": "~4.8.2",
    "components-font-awesome": "~4.3.0",
    "ember-simple-auth": "git://github.com/simplabs/ember-simple-auth.git#3ac98588d4739c1c41066e",
    "switchery": "~0.8.0",
    "chosen": "~1.4.2",
    "bootstrap": "~3.3.4",
    "metisMenu": "~2.0.0",
    "select2": "~4.0.0",
    "ckeditor": "~4.4.7",
    "summernote": "~0.6.7",
    "dropzone": "~4.0.1",
    "bootstrap-datepicker": "~1.4.0",
    "lightbox": "~2.7.2",
    "ember-localstorage-adapter": "*",
    "validate": "~0.7.1",
    "flip": "~1.0.1",
    "pace": "~1.0.2",
    "toastr": "~2.1.1",
    "datatables": "~1.10.7",
    "mousetrap": "~1.5.2",
    "iCheck": "~1.0.2",
    "typehead.js": "~0.11.1",
    "bs-typeahead": "~0.0.5",
    "formatter": "~0.1.5",
    "momentjs": "~2.10.6",
    "moment": ">= 2.8.0",
    "moment-timezone": ">= 0.1.0"
  },
  "resolutions": {
    "ember-data": "2.0.0-beta.1",
    "ember": "2.0",
    "loader.js": "3.2.1",
    "jquery": "2.1.4"
  }
}
marcoow commented 9 years ago

In order to use the jj-abrams branch you only need "ember-simple-auth": "simplabs/ember-simple-auth#jj-abrams", branch. You can remove everything related to ESA from bower.json.