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

Could not find module ember-cli-copyable #21

Open
davidpatters0n opened this issue Jun 10, 2016 · 2 comments
Open

Could not find module ember-cli-copyable #21

davidpatters0n opened this issue Jun 10, 2016 · 2 comments

Comments

@davidpatters0n
Copy link

davidpatters0n commented Jun 10, 2016

I ran the following:

ember install ember-cli-copyable

App Info: 
 "devDependencies": {
    "ember-cli": "0.2.5",
    "ember-cli-copyable": "0.9.6"
  },
"dependencies": {
    "ember-cli": "0.2.5"
    ..... rest omitted
}

Model

`import DS from 'ember-data'`
`import ModelWithEmbeddedMixin from '../mixins/model-with-embedded-mixin'`
`import Copyable from 'ember-cli-copyable'`

listing = DS.Model.extend ModelWithEmbeddedMixin, Copyable,
    # content omitted 
`export default listing`

When I try to run the app I am given:

Error: Could not find module ember-cli-copyable imported from main-app/models/listing

@colejoh
Copy link

colejoh commented Jul 20, 2016

@davidpatters0n I am having the same issue. Were you able to figure it out, or did you end up using something else that you can recommend?

@davidpatters0n
Copy link
Author

@colejoh - I weren't able to figure out this issue. I opted for using: https://developer.mozilla.org/en/docs/Web/API/Document/execCommand which has a copy command:

Copies the current selection to the clipboard. Conditions of having this behavior enabled vary from one browser to another, and have evolved over time. Check the compatibility table to determine if you can use it in your case.

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