-
Notifications
You must be signed in to change notification settings - Fork 6
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
App using addon crashes, cannot find module ember-resolver, emver-cli-version-checker #6
Comments
Thank you @andreiciceu! I've never seen these error messages before, but I'll try if I can replicate them. |
Hi @andreiciceu, sorry I couldn't reproduce your issue. I created a new app using your configs (Ember 2.9.0, Ember CLI 2.11.1) and added ember-webcam to it. It works fine. I'm wondering if your issue was caused by something else. Would you please share the full error message? Also if you don't mind share the content of your Also, did you upgrade Ember CLI from 2.9.0 to 2.11.1? Make sure you follow the steps in the release note. Missing the Hope it helps! |
@leizhao4 sure, here are the contents of package.json
|
@andreiciceu Thanks a lot for the information! I think I have a potential solution now. I'll release a new version if it works out. |
This commit upgrade Ember and Ember CLI to 2.12. Bower dependency is removed. Node 0.x support is dropped. Many dependencies are upgraded. This commit also replaces ember-browserify with ember-cli-node-assets as the solution of importing webcam.js and webcam.swf. Previous solution requires ember-browserify to be added to the host application which is not desired. This change may fix #6 as well.
@andreiciceu Please try version 0.0.3 and see if the problem still exists. |
@leizhao4 Seems to be working now. Thank you |
Sweet! Thank you for help @andreiciceu! |
Hello,
Our app was using this addon for taking pictures from camera.
With the new version of ember-cli (2.11.1), the app builds fine, but crashes, with the following errors in the browser's Javascript console: Cannot find module at
require('ember-resolver')
andrequire('ember-cli-version-checker')
.I've tried including those packages in package.json, but no luck
EmberJS: 2.9.0
Ember-cli: 2.11.1
Node: 6.10.0
Npm: 3.10.10
The text was updated successfully, but these errors were encountered: