All Questions
2,399
questions
0
votes
0
answers
12
views
Error message: Download Playwright on my Windows Laptop
Im trying to download playwright on visual studio on my windows computer but it came up with this error message even though I have downloaded node.js. I tried to download it using npm by using the ...
-1
votes
1
answer
20
views
Cannot run nodejs in windows
I have binary folder for nodejs and now I would like to run it in windows OS, but get the error like:
The procedure entry point GetSystemTimePreciseAsFileTime couild not be located in the dynamic link ...
0
votes
0
answers
18
views
Writing to `CONOUT$` on Windows for node.js 22
I am trying to fix a node.js package that writes directly to the console (/dev/tty in Unix-likes) in the case of Windows. It's using some internal bindings, sadly, which means it breaks with different ...
0
votes
3
answers
57
views
Is string.indexOf() treated the same on Linux vs Windows?
I'm not an experienced JavaScript programmer. This is my first project using JS.
I'm developing on Linux and am at the point for my first release. Running the project on a Windows machine I came ...
1
vote
0
answers
26
views
How Can I Access a 32-bit ODBC Driver with Node.js? Getting "Architecture Mismatch" Error
I'm currently working on a Node.js application that needs to connect to a 32-bit ODBC driver. When I attempt to connect, I receive the following error message: "The specified DSN contains an ...
1
vote
1
answer
37
views
Incompatible version of Node.js with Windows
I'm encountering an issue when trying to run Node.js on my Windows machine. I receive the following error message:
This version of C:\Users\Admin\node_modules\node\bin\node.exe is not compatible with ...
-1
votes
0
answers
41
views
I ran into a problem while using npm and npx
I installed nodejs and its version is node --version
v22.3.0
and on running the command npx create-next-app@latest it is throwing the error
when I tried running the npm -v it throws the error
...
0
votes
0
answers
72
views
nvm use <version> && npm run start, can't be combined?
On a Windows 11 Git Bash/VS code terminal, attempting to write a one liner that would run set the nvm version to use and then start up npm.
There are no issues when running these 2 commands separately ...
0
votes
1
answer
37
views
Electron: Missing script: "start"
I'm making a first app with tutorial.
First installed Node.js on Windows 10
Then installed npm
Then created a folder for electron: C:\\electron-app
Then created a package.json: npm init -y
Then ...
1
vote
1
answer
28
views
How to tell if node in windows is the msvc version or the mingw's version?
To see the C++ compatibility, if it's gnu, or msvc in windows.
I know the platform is both win32, but depending on how it was compiled the ABI interface changes a little bit.
I tried node -v, but it ...
0
votes
1
answer
30
views
Get active window from the whole running apps list in NodeJS
I'm trying to get the current active window in Nodejs and Electron.
I've tried literally every package available but all are unsopported or not working.
I'm able to access the list of the current ...
0
votes
1
answer
125
views
npm install -g not working on windows even with run as administrator
I am trying to run npm i -g @nestjs/cli and corepack enable on a Windows machine.
I ran cmd as Administrator, as the image below indicates. Powershell as admin did not work too. I tried cleaning npm ...
0
votes
0
answers
32
views
NVM 18.18.0 - How to add npm environment variable on a server
I'm trying to update nodejs on a server from version 18.15.0 to 18.18.0, for security reason there is no internet access on the server and I should do nvm install 18.18.0 but is not possible and got ...
0
votes
1
answer
19
views
npm install does not work in virtual studio 1.79
I tried to install react with Node 18.20.12 (x86) in Virtual Studio 1.79 by running the npm command I got from Vite. As a result, it showed three commands that I needed to run (1.cd react 2.npm ...
0
votes
0
answers
15
views
Is there a way to run JS file using node.js via cmd without using full path to the file [duplicate]
I am trying to run test.js via cmd which is not located in the current directory.
When I run:
"node test.js" I get "Error: Cannot find module" error.
When I run:
"node C:\temp\...