Missing "ember simple auth" initializer in ember cli project - ember.js

I have an Ember project (driven by Ember CLI ver 0.0.46) and I added latest Ember Simple Auth (ver 0.6.6) following the instruction on the https://github.com/simplabs/ember-simple-auth.
However I don't get the Ember Simple Auth initializer which is supposed to be generated when I build the project.
Any ideas why this happens or suggestions how to manually generate it are welcome.

Related

Intellij with ember error: "you have to be inside an ember-cli project in order to use build command"

I have created a project which is configured to use ember-cli on the webapp folder before launching the resulting code, however I get that error when the ember compiler is called.
Here are some pictures:
[picture1]
[picture2]2
Here is the project folder. I have done ember init on the webapp folder:
enter image description here
Is it something related to ember or is it something related to my run configuration?
This is duplicated. As I mention in another your post, you should run ember init in that folder. You don't have ember project structure yet

Ember build for production not building properly

I am building my ember app in production environment and deploying it on my local wamp server(apache server). But when I copy the file and open the app using url, the handlebar template application.hbs or index.hbs is not rendered.
I am building my project using
ember build --environment production --output-path dist/
But when I open the path 127.0.0.1/path-to-my-project
I get following error in console.
Uncaught Error: Could not find module `ember-data/-private\system\references\record` imported from `ember-data/-private/system/references`
vendor-192d3eef66f0205b64b4acf903f80f63.js:1
I am getting this error when building in production environment,building in development environment is working fine
I checked the documentation and sources available online, but couldn't find the cause for this error.
Please Help...
On Windows, it's mixing / and \s. See:
https://github.com/emberjs/data/pull/4205
If you're using the latest Ember, the solution is to upgrade to Ember-Cli 2.4.2 and use Ember Data 2.4.0.

Using simple auth without Ember-cli

I want to use simple auth without Ember-cli. Up until version 0.8.0, simple auth was distributed as a bower addon, and could be imported with the AMD module inside the bower package (ember-simple-auth/simple-auth.amd.js). Since I want to use the newest version of Ember and Ember Data, I also need to update the simple auth version to version 1.0.1.
How do I use the new version without Ember-cli?
You cannot use Ember Simple Auth without Ember CLI anymore.

Component exposed in ember addon is not recognised in ember app

I have an addon that records integration tests for ember:
https://github.com/QuantumInformation/ember-cli-test-recorder
However I find that when I import it into an ember cli project via npm and then use the component it exposes like so in appplication.hbs:
<h2 id="title">Welcome to Ember.js</h2>
{{outlet}}
{{test-recorder currentRouteName=currentRouteName}}
I get the following at runtime:
`Uncaught Error: Assertion Failed: A helper named 'test-recorder' could not be found
Note that the component works fine in the dummy app and this addon used to work in version 1.10 of ember.
Using ember cli 0.2.5 for both addon and ember project in this case
Running ember install ember-cli-test-recorder solved this for me.
For some reason just running npm install ember-cli-test-recorder wasn't enough.

Migrating App Kit to Ember CLI - ReferenceError window is not defined

After discovering that Ember App Kit along with useage of Grunt are depricated now, I installed Ember CLI and tried to migrate a fresh copy of the App Kit to Ember CLI by running 'ember init', but I got this error 'ReferenceError: window is not defined at Object.'. I also ran 'npm install' and 'bower install' to get dependent modules, but still 'ember init' won't run. It seems that there's a problem with 'window' in 'config\environment.js'.
Rather than migrating the old App Kit, shouldn't we have a new starter kit based on Ember CLI?
While the old EAK project site suggests that you can migrate it to CLI, I found that to be problematic. But there's no need to start with the EAK anymore since Ember CLI will scaffold up a new starter project for you.