Category : node.js

Essentially what I have is a qt gui application that calls QProcess::start() repeatedly on an executable that checks for file changes in a text file that the vscode extension writes to. Currently there are two problems. I’m not convinced that writing to a file is the most efficient way to do this and if it ..

Read more

I’m looking for a solution to access the system media controls/status etc. I’m language agnostic, so long as I can run it from a node application (native module, executable to stdout, etc.) My ultimate goal is to access media status cross-platform, but I’ll settle for Windows to start as Linux and macOS probably have a ..

Read more

I want to access the elements of an array that is passed in a function as an arg from the js side. The code is like this: void Method(const FunctionCallbackInfo<Value> &args){ Isolate* isolate = args.GetIsolate(); Local<Array> array = Local<Array>::Cast(args[0]); for(int i=0;i<(int)array->Length();i++){ auto ele = array->Get(i); } I’m getting this error: error: no matching function for ..

Read more

In Cypress 7.4, 7.7 I am getting this message during a test. I think it happens in a function, getGDriveAuthToken, that uses puppeteer-extra and puppeteer-extra-plugin-stealth. Browser is not downloaded. Run "npm install" or "yarn install" This is happening in Windows Virtualbox Guest in a Windows Virtualbox Host. It does not happen in the main Host ..

Read more

I need to run npm install with 8GB memory limit on NodeJS 14 on Windows 10 (with 16GB RAM). I have tried the following to no avail: node –max-old-space-size=8192 "C:Program Filesnodejsnpm" install – unexpected behaviour but seems to still be 4GB after Ctrl+C-ing set NODE_OPTIONS=–max-old-space-size=8192&&npm install – still 4GB Adding NODE_OPTIONS environment variable (to both ..

Read more

Estou buscando uma solução para um erro com o Pkg https://www.npmjs.com/package/pkg de nodejs, quando gero o executável e rodo a aplicação não consigo realizar requisições do tipo post e de outros tipos em minha rede e nem em minha própria máquina, criei uma rest api com typeorm e typescript realizando o Build com Babel. Nota ..

Read more