generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

Upgraded angular version to 1.6.* in bower and now authentication error while logging-in in angular fullstack v2.1.1

Open akshayseth opened this issue 7 years ago • 5 comments

I have recently installed angular fullstack v2.1.1 and have updated angular to 1.6.*.After bower install I am getting the error below: UnauthorizedError: No authorization token was found at middleware (C:\Users\Ajax\Desktop\bookWorms\book-worm\node_modules\express-jwt\lib\index.js:80:21) at Middleware_Common_Object. (C:\Users\Ajax\Desktop\bookWorms\book-worm\server\auth\auth.service.js:24:7) at next (C:\Users\Ajax\Desktop\bookWorms\book-worm\node_modules\composable-middleware\lib\composable-middleware.js:59:18)

akshayseth avatar Apr 18 '17 08:04 akshayseth

The 2.x.x versions are no longer supported. Please take a look at the 3.x.x & 4.x.x versions

Awk34 avatar Apr 19 '17 00:04 Awk34

But I need angular 1 and when I install fullstack without specifying the version all I get is constructors and components.So I decided to go with fullstack v2.1.1

akshayseth avatar Apr 19 '17 10:04 akshayseth

4.1.1+ still uses Angular 1.6

Awk34 avatar Apr 19 '17 14:04 Awk34

Can you suggest me a reliable version of the generator which is compatible with angular 1.2.* ?

akshayseth avatar Apr 20 '17 06:04 akshayseth

I cannot. I don't even remember how long ago it was when we used Angular 1.2. Is there any reason you can't use 1.6?

Awk34 avatar Apr 20 '17 14:04 Awk34