how

Submit a question

Submit a new question to our website

how

Questions

Find answers to your question

how

Paid Support

Get paid support from out dedicated developers.

Latest Questions

Explore the latest questions and answers asked by our top developers.

Automatic crash on Angular universal project on server

In the Angular universal project. After a while on the server, the site automatically crashes and the server needs to be restarted. These errors are in the log. This has happened twice in the last month. There are too many "Converting circular structure to JSON" errors in the log file. (node:24572) [DEP0005] DeprecationWarning: Buffer() is […]

How to write javascript conditional operator statement ‘?’ without using else ‘:’ [duplicate]

So I’m using typescript in Angular and I have this code in ngOnInit() : this.authService.isAuthenticate() ? this.router.navigate([‘/waiting-list’]) but I’m getting this error: [ ‘:’ expected.ts(1005) ]. I wanna use the new way to make if else statement (with ‘?’ operator). so maybe someone knows how to make it without else ‘:’ statement. Thank you. Source: […]

By red1dev
Published
Categorized as angular, ecmascript-6, javascript, typescript Tagged , , ,

Open a .sqlite SQLite database file after file upload into a Node.js/Angular application

I’m struggling a bit with opening and reading a SQLite file inside a Node.js, or better to say Angular (12) application. The Angular application offers file uploads, beside others uploading a .sqlite SQLite database file. After upload, I have the file in form of the common Web APIs File interface. Npm packages like sqlite3 or […]

Open a .sqlite SQLite database file after file upload into a Node.js/Angular application

I’m struggling a bit with opening and reading a SQLite file inside a Node.js, or better to say Angular (12) application. The Angular application offers file uploads, beside others uploading a .sqlite SQLite database file. After upload, I have the file in form of the common Web APIs File interface. Npm packages like sqlite3 or […]

Using HttpClient to make get requests

I have written the following code to get the dummy data here: export class AppComponent { jsonPosts: any = []; constructor(private httpClient: HttpClient) { } OnInit() { this.getJsonPosts(); } getJsonPosts(): any { return this.httpClient.get("https://jsonplaceholder.typicode.com/posts") .subscribe(response => { console.log(response); this.jsonPosts = response; }); } I have also written the following code to display them in my […]

By CatarinaRuna
Published
Categorized as angular, html, http, json, typescript Tagged , , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq