Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'put' of undefined. #3

Closed
omairvaiyani opened this issue Feb 12, 2018 · 3 comments
Closed

Cannot read property 'put' of undefined. #3

omairvaiyani opened this issue Feb 12, 2018 · 3 comments

Comments

@omairvaiyani
Copy link

Hey, this addon seems like a great idea!

I'm unable to get it to work, ember 2.18.1 and fastboot v1.1.2 - it seems that the shoebox property is undefined in your addon's service.

I'll try and figure out why, but I thought I'd make you aware in the meantime in case I can't find a fix.

@HarenBroog
Copy link
Contributor

HarenBroog commented Feb 13, 2018

Thanks @omairvaiyani!

Could you enclose package.json and your node version? I will investigate it in a free moment ;)

@omairvaiyani
Copy link
Author

No problem @HarenBroog - I didn't have much luck finding the solution. Here's my package.json

{
	"name": "[]",
	"version": "[]",
	"description": "[]",
	"private": true,
	"directories": {
		"doc": "doc",
		"test": "tests"
	},
	"scripts": {
		"build": "ember build",
		"lint:js": "eslint ./*.js app config lib server tests",
		"start": "ember server",
		"test": "ember test"
	},
	"repository": "[hidden]",
	"engines": {
		"node": "v8.9.4",
		"npm": "5.6.0"
	},
	"author": "Omair Vaiyani",
	"license": "",
	"devDependencies": {
		"algoliasearch": "3.7.5",
		"bootstrap": "3.3.7",
		"broccoli-asset-rev": "2.4.5",
		"chartjs-plugin-annotation": "0.5.7",
		"dynamic-link": "0.2.1",
		"ember-ajax": "3.0.0",
		"ember-algolia": "0.0.10",
		"ember-async-button": "1.0.2",
		"ember-autoresize": "1.1.0",
		"ember-bootstrap": "1.2.0",
		"ember-browserify": "1.2.1",
		"ember-cached-shoe": "^0.1.1",
		"ember-cli": "~2.18.0",
		"ember-cli-acceptance-test-helpers": "1.0.0",
		"ember-cli-app-version": "3.0.0",
		"ember-cli-babel": "6.11.0",
		"ember-cli-chart": "3.4.0",
		"ember-cli-dependency-checker": "2.0.0",
		"ember-cli-dotenv": "2.0.0",
		"ember-cli-eslint": "4.2.1",
		"ember-cli-fastboot": "1.1.3",
		"ember-cli-google-analytics": "1.5.0",
		"ember-cli-head": "0.4.0",
		"ember-cli-htmlbars": "2.0.1",
		"ember-cli-htmlbars-inline-precompile": "1.0.0",
		"ember-cli-imagemin": "2.0.0",
		"ember-cli-inject-live-reload": "1.4.1",
		"ember-cli-knob": "0.1.2",
		"ember-cli-medium-editor": "[hidden]/ember-cli-medium-editor#2854030",
		"ember-cli-meta-tags": "4.0.0",
		"ember-cli-mirage": "0.4.1",
		"ember-cli-moment-shim": "3.5.0",
		"ember-cli-notifications": "git://github.com/[hidden]/ember-cli-notifications.git#4d46294",
		"ember-cli-pagination": "3.1.1",
		"ember-cli-qunit": "4.1.1",
		"ember-cli-shims": "1.2.0",
		"ember-cli-sri": "2.1.0",
		"ember-cli-stylus": "1.0.4",
		"ember-cli-uglify": "2.0.0",
		"ember-component-inbound-actions": "1.0.1",
		"ember-composable-helpers": "1.1.2",
		"ember-countup": "LiquidSean/ember-countup",
		"ember-crumbly": "1.0.8",
		"ember-data": "~2.18.0",
		"ember-export-application-global": "2.0.0",
		"ember-fetch": "3.4.4",
		"ember-filestack": "0.0.8",
		"ember-get-config": "0.2.4",
		"ember-infinite-scroll": "0.2.4",
		"ember-keyboard-shortcuts": "1.0.5",
		"ember-load-initializers": "1.0.0",
		"ember-maybe-import-regenerator": "0.1.6",
		"ember-native-dom-event-dispatcher": "0.6.4",
		"ember-page-title": "4.0.3",
		"ember-papaparse": "1.0.0",
		"ember-parse-adapter": "github:[hidden]/ember-parse-adapter",
		"ember-power-select": "1.0.0",
		"ember-power-select-with-create": "0.2.4",
		"ember-radio-button": "1.2.0",
		"ember-resolver": "4.0.0",
		"ember-responsive": "2.0.5",
		"ember-route-action-helper": "2.0.6",
		"ember-service-worker": "0.6.9",
		"ember-service-worker-asset-cache": "0.6.2",
		"ember-service-worker-cache-fallback": "0.6.1",
		"ember-service-worker-index": "0.6.3",
		"ember-simple-auth": "1.4.2",
		"ember-social": "0.3.0",
		"ember-sortable": "1.8.1",
		"ember-source": "~2.18.0",
		"ember-stripe-service": "7.0.0",
		"ember-test-selectors": "0.3.8",
		"ember-web-app": "2.3.0",
		"emberx-range-input": "1.0.2",
		"eslint-plugin-ember": "5.0.0",
		"express": "4.8.5",
		"font-awesome": "4.7.0",
		"getstream": "3.12.3",
		"glob": "4.4.2",
		"handlebars": "4.0.5",
		"install": "0.8.9",
		"ivy-codemirror": "2.1.0",
		"jstz": "2.0.0",
		"loader.js": "4.2.3",
		"numeral": "2.0.6",
		"or": "0.2.0",
		"parse": "1.11.0",
		"underscore": "1.8.3"
	},
	"fastbootDependencies": [
		"algoliasearch"
	],
	"dependencies": {}
}

@HarenBroog
Copy link
Contributor

@omairvaiyani I have checked ember-cached-shoe with above versions of fastboot and ember and everything works as expected. I created test project for that here https://github.com/HarenBroog/ember-test. I think the problem lays in your application code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants