node.js tag

261 questions


1 answers
47 views
0
Troubleshooting the Cannot find Module Error in node.js

Thank you for your cooperation.in the folder where Google-home-notifier is locatedhttps://qiita.com/kyota/items/453047f236ca5488027cI tried to run the first main.js with reference to .Error: Cannot fi...

2 years ago

2 answers
109 views
0
The fetch method does not work when scraping with cheerio-httpcli in actions on google

This is my first time to ask a question.At Google Home, I'm creating an app that tells you which characters are disadvantageous to the characters in a match game.It is being processed through Dialogfl...


2 answers
91 views
0
I want to use MongoDB to search for documents by location information.

I use MongoDB through Mongoose in Node.js.Think about the data that has the location information on the screen.{ location: { x —Number, y —Number }}You have defined a schema called .Therefore, I would...

2 years ago

1 answers
131 views
0
If you put a Japanese folder in a folder monitored by gulp-watch, it stops with an error.

If you create and rename a new folder in a folder that is being monitored by gulp-watch, an ENOENT error will occur and the monitoring will stop.Instead of not using the folder name in Japanese, If po...

2 years ago

1 answers
85 views
0
Understanding Require in Node.js

Suppose you have test.js, file.js and you have the following description in test.js://test.jsvar hoge = true;require('./file');Is there any way to view hoge from file.js?

2 years ago

1 answers
74 views
0
Can I install multiple versions of the same npm package name in a subdirectory?

Specifically, regarding AngularJS installation, running [email protected] and [email protected] in each subdirectory will enter the ./node_modules of all routes..├-- node_modules<- get in her...

2 years ago

2 answers
81 views
0
Is it possible to rewrite the following Promise code with async/await?

Thank you for your help.As stated in the title, is it possible to rewrite the code shown below to do the same with async/await?function hello(){ return new Promise ((resolve, reject) = > { setTime...

2 years ago

1 answers
91 views
0
Understanding QuerySnapshot Values Returned by Cloud Firestore Library in JavaScript

I would like to ask you about the return value in the Cloud Firestore library.Regarding the value returned when executing the code below, is this an instance?For example, if I want to retrieve the 'te...


1 answers
79 views
0
We are looking for a way to perform error handling of SSR without compromising response performance on the SPA.

I have also asked StackOverflow headquarters questions, but I have not been able to answer them, so please let me ask you a question.If there is a useful answer, I will reflect it to both of them.SPA=...

2 years ago

1 answers
76 views
0
If you use match in the following regular expressions, the program will not end running.

Hello, thank you for your continuous support.I am writing a program that uses regular expressions in javascript, but the program doesn't work.When I tried it, the following code encountered the same s...

« - 5 - »

© 2024 OneMinuteCode. All rights reserved.