Comments (5)
Hi @wireframe, thanks for the report. I don't have much to go on based on "ember-resolver"βare there some additional logs you could share or repro steps?
Thanks,
Mark
from twilio-video.js.
Hey Mark,
I've been banging my head against a wall to isolate the root cause, but no luck thus far. The good news is that this error happens at build time, so it is fairly easy to reproduce by initializing a new ember app and just trying to require the twilio conversations library. no twilio connection/initialization or application specific logic needed.
from twilio-video.js.
Hey @wireframe, thanks for the info. I tried to reproduce, but I could not. Could you check my steps below?
-
First, create a new Ember app:
$ ember new twilio-conversations-ember-test version: 2.4.2 Could not start watchman; falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman for more info. installing app create .bowerrc create .editorconfig create .ember-cli create .jshintrc create .travis.yml create .watchmanconfig create README.md create app/app.js create app/components/.gitkeep create app/controllers/.gitkeep create app/helpers/.gitkeep create app/index.html create app/models/.gitkeep create app/resolver.js create app/router.js create app/routes/.gitkeep create app/styles/app.css create app/templates/application.hbs create app/templates/components/.gitkeep create bower.json create config/environment.js create ember-cli-build.js create .gitignore create package.json create public/crossdomain.xml create public/robots.txt create testem.js create tests/.jshintrc create tests/helpers/destroy-app.js create tests/helpers/module-for-acceptance.js create tests/helpers/resolver.js create tests/helpers/start-app.js create tests/index.html create tests/integration/.gitkeep create tests/test-helper.js create tests/unit/.gitkeep create vendor/.gitkeep Successfully initialized git. Installed packages for tooling via npm. Installed browser packages via Bower.
-
Ensure initial tests pass:
$ ember test Could not start watchman; falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman for more info. Built project successfully. Stored in "/tmp/ember/twilio-conversations-ember-test/tmp/class-tests_dist-JhNjsuTR.tmp". ok 1 PhantomJS 2.1 - JSHint - app.js: should pass jshint ok 2 PhantomJS 2.1 - JSHint - helpers/destroy-app.js: should pass jshint ok 3 PhantomJS 2.1 - JSHint - helpers/module-for-acceptance.js: should pass jshint ok 4 PhantomJS 2.1 - JSHint - helpers/resolver.js: should pass jshint ok 5 PhantomJS 2.1 - JSHint - helpers/start-app.js: should pass jshint ok 6 PhantomJS 2.1 - JSHint - resolver.js: should pass jshint ok 7 PhantomJS 2.1 - JSHint - router.js: should pass jshint ok 8 PhantomJS 2.1 - JSHint - test-helper.js: should pass jshint 1..8 # tests 8 # pass 8 # skip 0 # fail 0 # ok
-
Add twilio-conversations as a dependency:
$ bower install twilio-conversations --save bower cached git://github.com/twilio/twilio-conversations.js.git#0.13.2 bower validate 0.13.2 against git://github.com/twilio/twilio-conversations.js.git#* bower new version for git://github.com/twilio/twilio-conversations.js.git#* bower resolve git://github.com/twilio/twilio-conversations.js.git#* bower download https://github.com/twilio/twilio-conversations.js/archive/0.13.4.tar.gz bower extract twilio-conversations#* archive.tar.gz bower resolved git://github.com/twilio/twilio-conversations.js.git#0.13.4 bower install twilio-conversations#0.13.4 twilio-conversations#0.13.4 bower_components/twilio-conversations
-
Added an import of twilio-conversations to app/app.js:
import Ember from 'ember'; import Resolver from './resolver'; import loadInitializers from 'ember-load-initializers'; import config from './config/environment'; // Import twilio-conversations import {Conversations} from 'twilio-conversations'; // Suppress JSHint error void Conversations; let App; Ember.MODEL_FACTORY_INJECTIONS = true; App = Ember.Application.extend({ modulePrefix: config.modulePrefix, podModulePrefix: config.podModulePrefix, Resolver }); loadInitializers(App, config.modulePrefix); export default App;
-
Re-ran tests:
$ ember test version: 2.4.2 Could not start watchman; falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman for more info. Built project successfully. Stored in "/tmp/ember/twilio-conversations-ember-test/tmp/class-tests_dist-FERjeSmz.tmp". ok 1 PhantomJS 2.1 - JSHint - app.js: should pass jshint ok 2 PhantomJS 2.1 - JSHint - helpers/destroy-app.js: should pass jshint ok 3 PhantomJS 2.1 - JSHint - helpers/module-for-acceptance.js: should pass jshint ok 4 PhantomJS 2.1 - JSHint - helpers/resolver.js: should pass jshint ok 5 PhantomJS 2.1 - JSHint - helpers/start-app.js: should pass jshint ok 6 PhantomJS 2.1 - JSHint - resolver.js: should pass jshint ok 7 PhantomJS 2.1 - JSHint - router.js: should pass jshint ok 8 PhantomJS 2.1 - JSHint - test-helper.js: should pass jshint 1..8 # tests 8 # pass 8 # skip 0 # fail 0 # ok
Is there something else about the way you use twilio-conversations?
Thanks,
Mark
EDIT: Granted, this was on OS X. I'll need to retry on Ubuntu, but before I do, can you confirm whether these steps should be sufficient to trigger the failure? Or do I need to do something with the resolver?
from twilio-video.js.
@wireframe can you please retry with twilio-video.js? We've made a number of improvements to get twilio-video.js bundling cleanly with Angular, React, and Meteor apps. Perhaps this solves your issue?
Thanks,
Mark
from twilio-video.js.
thanks for the update @markandrus
we are no longer evaluating twilio for webrtc support, but if we revisit it in the future, i'll open a new issue if we encounter any issues.
from twilio-video.js.
Related Issues (20)
- Intermittent video stream flickering on Android/Chrome
- participant.networkQualityLevel Returns Null When Connect to a Room with Audio and Video Off HOT 1
- Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
- DOMException error with no stack trace
- Restarting local audio track with noise cancellation
- Angular 6 Uncaught TypeError: Cannot assign to read only property 'exports' of object '[object Object]' ;
- Apple hand gestures getting sent on video call HOT 1
- End of Life HOT 2
- Twilio Programmable Video End of Life and Transition Plan HOT 10
- Thank You
- Issue with datatracks React - Sometimes participants new are not subcribed
- Video: Test Group Room with TURN & Video: Test Group Room without TURN FAILS HOT 1
- Mark Brave supported HOT 1
- Anyone experiencing crashes with Chrome v122? HOT 11
- Officially support Chromium's new documentPictureInPicture API HOT 1
- Allow calling `track.restart()` on local tracks created using constructors HOT 1
- Black video stream issue
- FitType Property is not applying on webgl but working on canvas2D
- Build is broken
- Screen Turns White switching between front and rear cameras for iPhone 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twilio-video.js.