"server is not defined" in development environment with ember-cli 2.3.0
See original GitHub issueRecently updated a bunch of dependencies but primarily ember-cli to 2.3.0
and now server
is no longer defined on window
when running in the development
environment. Running in the test
environment it is defined as expected.
Using:
ember-cli@2.3.0
ember-cli-mirage@0.1.11
ember-cli-mocha@0.10.0
ember#2.3.1
ember-cli-test-loader#0.2.2
ember-mocha-adapter#0.3.1
mocha#2.4.5
Issue Analytics
- State:
- Created 8 years ago
- Comments:13
Top Results From Across the Web
"server is not defined" in development environment with ...
Recently updated a bunch of dependencies but primarily ember-cli to 2.3.0 and now server is no longer defined on window when running in...
Read more >ember error "Specified 2.3.0 Installed 2.4.3" on "ember s"
When I try to start the server I get: glaucon@polo ~/dev/ember-django-testbed $ ember s Missing bower packages: Package: ember * ...
Read more >Ember CLI - Getting Started
Ember CLI, Ember's command line interface, provides a standard project structure, a set of development tools, and an addon system.
Read more >danlynn/ember-cli - Docker Image | Docker Hub
This image contains everything you need to have a working development environment for ember-cli. The container's working dir is /myapp so that you...
Read more >ember-auto-import
ember -auto-import. Just import from NPM, with zero configuration. Installation. npm install --save-dev ember-auto-import webpack.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am getting
ReferenceError: server is not defined
in testing. I am using the most recent beta"ember-cli-mirage": "0.2.0-beta.5"
i am only getting this error in my instance initializer tests. Other tests seem fine.
Also have this in my development environment… I just want to use mirage for testing.
Terribly embarrassed, after some investigation my issue was caused by
ember-cli-mirage.enabled
being set tofalse
(in which caseserver
not being defined is expected). Sorry for the noise and thanks for your time.Not sure what issue @bmrsny is seeing.