Getting Error for ember Simple Auth Authenticators Base


#1

Hi When I try to run my application I am getting below error, not able to find a solution for it.

Uncaught TypeError: _emberSimpleAuthAuthenticatorsBase.default.extend is not a function at Module.callback (token.js:23) at Module.exports (loader.js:106) at Module._reify (loader.js:143) at Module.reify (loader.js:130) at Module.exports (loader.js:104) at Module._reify (loader.js:143) at Module.reify (loader.js:130) at Module.exports (loader.js:104) at Module._reify (loader.js:143) at Module.reify (loader.js:130)

I have already added "ember-simple-auth": “^1.1.0”, “ember-simple-auth-token”: "1.1.1" in my dependencies in package.json

below is my ember versions ember-cli: 2.14.2 node: 4.8.4 os: linux x64 Please help

regards


#2

Don’t know how to help but we use "ember-simple-auth": "1.1.0", with loader.js": "^4.6.0 without any problems.


#3

Hi Thankyou for reply, I also have same configuration for loader.js. Not sure where is the problem.


#4

Perhaps clone this and see if you get your error. Then you know it is in your setup and not in your App.


#5

I tried cloning this sample project, i did not work, but other system it worked so it must be my setup.


#6

Do you get the error on the console or in your browser? I have once seen some strange things happening with a Chrome extension called “REST client”.