You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
user is not defined
ReferenceError: C:\Users\name\AppData\Roaming\npm\node_modules\generator-jhipster-nodejs\generators\node-server\templates\server\src\web\rest\user.controller.ts.ejs:4
2| import { AuthGuard, Roles, RolesGuard, RoleType } from '../../security';
3| import { PageRequest, Page } from '../../domain/base/pagination.entity';
4| import { <%= user.dtoClass%> } from '../../service/dto/user.dto';
5| import { HeaderUtil } from '../../client/header-util';
6| import { Request } from '../../client/request';
7| import { LoggingInterceptor } from '../../client/interceptors/logging.interceptor';
To Reproduce
Steps to reproduce the behavior:
Run the jhipster --blueprints nodejs
Welcome to JHipster v8.5.0
? What is the base name of your application? codecompiler
? Which type of application would you like to create? Microservice application
? As you are running in a microservice architecture, on which port would like your server to run? It should be unique to
avoid port conflicts. 8081
? Which type of authentication would you like to use? JWT authentication (stateless, with a token)
? Which production database would you like to use? PostgreSQL
? Which framework would you like to use as microfrontend? No client
ERROR! An error occured while running jhipster-nodejs:node-server#writingTemplateTask
ERROR! ERROR! C:\Users\Srinivasan\AppData\Roaming\npm\node_modules\generator-jhipster-nodejs\generators\node-server\templates\server\src\web\rest\user.controller.ts.ejs:4
2| import { AuthGuard, Roles, RolesGuard, RoleType } from '../../security';
3| import { PageRequest, Page } from '../../domain/base/pagination.entity';
4| import { <%= user.dtoClass%> } from '../../service/dto/user.dto';
5| import { HeaderUtil } from '../../client/header-util';
6| import { Request } from '../../client/request';
7| import { LoggingInterceptor } from '../../client/interceptors/logging.interceptor';
user is not defined
ReferenceError: C:\Users\Srinivasan\AppData\Roaming\npm\node_modules\generator-jhipster-nodejs\generators\node-server\templates\server\src\web\rest\user.controller.ts.ejs:4
2| import { AuthGuard, Roles, RolesGuard, RoleType } from '../../security';
3| import { PageRequest, Page } from '../../domain/base/pagination.entity';
4| import { <%= user.dtoClass%> } from '../../service/dto/user.dto';
5| import { HeaderUtil } from '../../client/header-util';
6| import { Request } from '../../client/request';
7| import { LoggingInterceptor } from '../../client/interceptors/logging.interceptor';
Expected behavior
It should generate microservice application without front end to use it
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: windowns 11 home
Browser [e.g. chrome, safari]
Version [e.g. 22]
NHipster configuration
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
user is not defined
ReferenceError: C:\Users\name\AppData\Roaming\npm\node_modules\generator-jhipster-nodejs\generators\node-server\templates\server\src\web\rest\user.controller.ts.ejs:4
2| import { AuthGuard, Roles, RolesGuard, RoleType } from '../../security';
3| import { PageRequest, Page } from '../../domain/base/pagination.entity';
To Reproduce
Steps to reproduce the behavior:
Welcome to JHipster v8.5.0
? What is the base name of your application? codecompiler
? Which type of application would you like to create? Microservice application
? As you are running in a microservice architecture, on which port would like your server to run? It should be unique to
avoid port conflicts. 8081
? Which type of authentication would you like to use? JWT authentication (stateless, with a token)
? Which production database would you like to use? PostgreSQL
? Which framework would you like to use as microfrontend? No client
ERROR! An error occured while running jhipster-nodejs:node-server#writingTemplateTask
ERROR! ERROR! C:\Users\Srinivasan\AppData\Roaming\npm\node_modules\generator-jhipster-nodejs\generators\node-server\templates\server\src\web\rest\user.controller.ts.ejs:4
2| import { AuthGuard, Roles, RolesGuard, RoleType } from '../../security';
3| import { PageRequest, Page } from '../../domain/base/pagination.entity';
Expected behavior
It should generate microservice application without front end to use it
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
NHipster configuration
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: