0
votes

I am using ember-cli-simple-auth and ember-cli-simple-auth-firebase packages and getting the following error:

loader.js:218 Uncaught Error: Could not find module ember-cli-simple-auth/authenticators/base imported from my-auth-test/authenticators/firebase

Any idea how I can fix this issue?

Thanks in advance

2

2 Answers

0
votes

Are you extending the authenticators/firebase yourself, in your own app directory?

That file should be importing from ember-simple-auth/authenticators/base, not ember-cli-simple-auth/authenticators/base. The version of the Firebase adapter on Github seems to have the import right, so I'm wondering if you're extending it yourself.

If you're not, try nuking your dependencies with

rm -rf node_modules
npm install

and trying your build again.

0
votes

ember-cli-simple-auth and ember-cli-simple-auth-firebase

These modules have been deprecated.