105 comments found.
Hi, I got error when building the app “Error occurs in the template of component FormDialogComponent.”
Hi,
Please email us on redstartheme@gmail.com with more details about the error you faced.
Thank you
Hello
So I have a problem, the sidebar menu with the navigation menus has a problem. If I refresh the page after being authtenticated, the sidebar content ( the menus ) they disappear completely.
I didnt touch the menus code. I only tweaked a bit the auth.guard.ts, but not that much.
export class AuthGuard implements CanActivate { constructor(private router: Router, private authService: AuthService) {} }
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {
const currentUser = this.authService.getUserDetails();
console.log(currentUser);
if (currentUser) {
if (currentUser.property === null) {
this.router.navigate(['/account/cedente']);
}
}
return true;
}
// not logged in so redirect to login page with the return url
this.router.navigate(['/authentication/signin'], {
queryParams: { returnUrl: state.url },
});
return false;
So I end up in the return true of the authGuard and the sidebar menus disappear. But if I navigate by clicking in the menus it works normally
Thank you
Thank you for reaching out.
In the auth.guard.ts file, the logic for redirecting to the login page is quite straightforward. Here’s the code that handles the authentication check:
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {
if (this.authService.currentUserValue) {
return true;
}
this.router.navigate(['/authentication/signin']);
return false;
}
I’ve tested this on both my local machine and our template live demo, and everything seems to be working fine. I recommend checking your implementation to ensure that the authGuard is returning true when a user is authenticated. Additionally, it’s a good idea to check the browser console for any potential errors.
Since I’m unable to reproduce the issue on my end, please let me know if you need further assistance. Feel free to reach out to us directly at redstartheme@gmail.com for any additional support.
Thank you
Hi support-team,
I bought the template and wanted to try it out. The first thing which I see when running npm install is this:
” npm install npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated @types/ckeditor__ckeditor5-watchdog@37.0.3: This is a stub types definition. @ckeditor/ckeditor5-watchdog provides its own type definitions, so you do not need this installed. npm WARN deprecated @types/ckeditor__ckeditor5-build-classic@37.0.4: This is a stub types definition. @ckeditor/ckeditor5-build-classic provides its own type definitions, so you do not need this installed.
added 1268 packages, and audited 1269 packages in 52s
186 packages are looking for funding run `npm fund` for details
2 vulnerabilities (1 low, 1 high)
To address all issues possible (including breaking changes), run: npm audit fix—force
Some issues need review, and may require choosing a different dependency.
Run `npm audit` for details. “
can you fix the vulnerabilities, please?
Thanks and best regards, Adam L.
Hi, Thank you for everything, Could you send us screenshots of errors at redstartheme@gmail.com?
Thank you
Pucharse code: b1285bdb-56aa-48a8-9435-02ae3832b29d
I am deploying my application in Apache or Nginx and when I enter the route my page opens but it is blank, the page layout does not appear, it is just completely white.
To add more details the console sends me the following errors:
GET http://localhost:8080/styles-N4CWROYT.css net::ERR_ABORTED 404 (Not Found)Understand this error browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18 browser/:18
GET http://localhost:8080/scripts-BEPOPKW5.js net::ERR_ABORTED 404 (Not Found)
Hi,
I follow this steps https://www.youtube.com/watch?v=Wf-6idVVis4, and I can run Lorax on nginx server without any errors.
If you still have any confusions, email me on redstartheme@gmail.com
Thank you
Dear Envato Market Team,
I need your help.
I’m developing the web application by using your “Lorax – Angular 18+ Material Design Admin Template”. I use the Advance-Table with dialog (as your sample code) for doing CRUD.
I found the problem when I added/updated the data to database by calling my web api; if my web api return the error respone, but the data on web page was updated already. (It is not correct)
Can you give me the sample code of the Advance-Table with dialog that it makes the data between the data in database and on web appliation being the same data when the dialog saves data into database?
The sample code may be the sample that the web application waits the web api completely save the data into database; and response the result back to web api before refreshing the data to show on the screen.
My email is prachaya.jongjoho@gmail.com
Thank you very much.
Dear Red Start Theme’s Team,
Since I asked for this suggestion since 6 days ago, can you please give me the response regarding this my answer?
Thank you very much.
Hi, Please check your email, I’ve already sent you a sample code 5 days ago.
Thank you
Dear Lorax’s Author,
After bought your template (Lorax Angular 18), I’m using your template to develop my web app. I get some problem; please you give me the suggestion.
I tried to amend the code in function “Login” (containing in file “auth.service.ts” )
The original code: const user = this.users.find((u) => u.username === username && u.password === password);
I need to change this command to be the command that can connect to the Web API for getting the user result.
I change the command to the following:
var userLogin = new UserLogin(); userLogin.Username = username; userLogin.Password = password; var user = this.LoginPosts(userLogin);
while the “LoginPosts” Function is:
LoginPosts(data: any): Observable<any> { return this.httpClient.post<any>(this.apiUrl, data);
The problem is the code cannot connect to the web api.
Note: I did to test my web api by Postman it can work fine.
Could you please give me the suggestion? However, if you have the sample code using to connect to web api under this part, can you please give me the code?
Thank you very much.
Best regards, Prachay Jongjoho
Hi, Kindly provide me with your email address so that we may communicate with you regarding possible solutions.
Thank you
Dear redstartheme, my email address is prachaya.jongjoho@gmail.com
Thank you very much.
Hello, good morning. I have a question. Could you explain to me why, when I use the tables, they only make one call to the endpoint that fetches the records? It’s as if something is cached, and when I want it to call the new data from the endpoint again, it doesn’t make the call. Could you explain why this happens and how I can fix it?
Hi, Thank you for everything, could you please email us on redstartheme@gmail.com with more details, so I can try my best to help you?
Thank you
When I installed it had problems with angular17 and the readme.md file said it was angular 15
Hi, Can you please send me more details on restarted@gmail.com? Please ignore readme.md file, it is not updated.
Thank you
Hi, I downloaded the project, and then finished ‘npm-install’ step in main folder. However, i found the error in tsconfg.json “Cannot find type definition file for ‘ckeditor__ckeditor5-adapter-ckfinder’. The file is in the program because: Entry point for implicit type library ‘ckeditor__ckeditor5-adapter-ckfinder’”
what can i do?
when i run ‘npm-install’ , warning log appeared npm WARN deprecated @types/ckeditor__ckeditor5-**
Hi I tried with latest version download from themeforest, unfortunately I can not reproduce any error during install dependencies.
https://prnt.sc/G7MuGb38BXyUDon’t worry about warning, it will not affect your code.
Thank you
nono i don’t care that warning but the first problem in tsconfig.json
Can you please check your angular CLI and Node.js version? I am using following versions for angular and Node.js
Angular CLI: 16.0.4 Node: 18.16.0
If you still face same issue with above version, please share your code with us, we will check it on our side.
Thank you
Hello , i can’t run ng lint ? any idea please ?
Hi, you have to migrate tslint to eslint, you can get reference from here : https://dev.to/phlashdev/angular-migrate-from-tslint-to-eslint-3dgc
If you have any issue, feel free to contact me on redstartheme@gmail.com.
Thank you
I have some errors in the form, please help me
khushbu.gohel1994@gmail.comPlease send more details on redstartheme@gmail.com, please attached your purchase invoice for verification.
Thank you
mat sort in advanced table is not working if ngif is used in it
Hi, Please send me your sample code on redstartheme@gmail.com to understand issue properly.
Thank you
Hi. On running ng serve I’m getting this error: Error: Failed to initialize Angular compilation – The target entry-point ”@swimlane/ngx-charts” has missing dependencies: – rxjs/Observable – rxjs/add/observable/fromEvent – rxjs/add/operator/debounceTime
Hi, I download latest version from themeforest and check in my machine it is working fine. Please check again with latest version.
Thank you
I managed to build. Thank you.
Does this support if I upgrade from angular 13 to angular 14
Yes, It will work fine with angular 14.
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: Expected whitespace. ╷ 341 │ @media screen and(max-width: 1169px) { │ ^ ╵ src\assets\scss\common\_general.scss 341:18 @import src\assets\scss\style.scss 25:9 root stylesheet
Hello, please, I have this problem when I started the project. I did what it asks for from the @media screen space and (maximum width: 1169px), but it still doesn’t work.
Hi, reply in email, please check your mail.
Thank you
please I need help with the problem that I put in the comment since the template does not work and they have not given me a solution
Hi, Please check your email, solution sent on email.
Thank you
341 │ @media screen and(max-width: 1169px) { │ ^ ╵ src\assets\scss\common\_general.scss 341:18 @import src\assets\scss\style.scss 25:9 root stylesheet
code doesn’t work in starter. =_=
plus code is depricitated ‘D:\Teddy Project\esports-betting\src\assets\scss\style.scss’ imports ‘bootstrap/scss/bootstrap’ with a tilde. Usage of ‘’ in imports is deprecated.
Hi, Just add space between and & (max-width :1169px) in media query. Like this:
@media screen and (max-width: 1169px)
Or update template with latest version, it will work fine.
Hi, i’ve sent to to you an email containing two questions, when you are available, can you please answer?
Could you please help with the errors for the demo project? After installing node_modules, when I try to run the project, it says: Cannot find module ’./phone_number’ or its corresponding type declarations. and there are a lot of such modules
Hi, Please contact us on redstartheme@gmail.com with error screen shot, please attached purchase invoice with email for varify your purchase.
Thank you
Hi, while testing your Lorax angular 14theme, I found that no data is being sent over network. is it implemented. also I could see that there is error in gender selection in ng data table. besides that if I want to customize, how are your charges?
Hi, Lorax is a static angular template, so no network request on it. Thank you about gender error in datatable, it will be resolved in our next update.
For customize, email us on redstartheme@gmail.com
Thank you
Hello, I can’t seem to activate the settings toggle,
inside the header, help
I tried to create a behavioral object then sending the this.rightSidebarService.setRightSidebar(true);
it doesn’t work in the header component
Hi, I can call following function from header component, and it is working fine. It called rightSidebarService and set value to true.
toggleRightSidebar(): void {
this.rightSidebarService.setRightSidebar(true);
}
What I mean is that I put it on the (click)=”toggleRightSidebar()”
in the list selection above the Logout, where the setting selection is located.
it doesn’t work on mine,
I can send through email the image,
can you please email us on redstartheme@gmail.com ?
Thank you