Questions tagged [windows]

In developing software exclusively for the Microsoft Windows operating system, our focus lies on crafting tailored APIs, behaviors, and more. However, please note that general support regarding Windows is not within the scope of this discussion. For any support inquiries, we kindly direct you to windows.

Unable to execute a Windows command line that has been escaped within Python

When I execute the given command in a Windows command prompt, it works flawlessly. java -jar "C:\Program Files (x86)\SnapBackup\app\snapbackup.jar" main However, when I attempt to run the same command within a Python script, it fails. ...

Navigating Large Datasets in Windows Azure: A Comprehensive Solution

Looking for an efficient solution to handle millions of entities stored in Windows Azure Table Storage, I am seeking a method that satisfies the following criteria: 1) When searching for an entity, retrieve that entity along with a specified number of ent ...

Steps for launching an application through a hyperlink to appear on the foreground rather than the background

For my project, I am utilizing "a href" to open a windows application. <a href={`enter app here`}> //Similar concept as mailto The issue I am facing is that it opens the application in the background rather than bringing it to the foreground. Esse ...

An error occurred when attempting to make an HTTP POST request to /session with the following parameters: {"desiredCapabilities":{"browserName":"chrome","platform":"ANY" using Selenium and PHPUnit

While running all tests using PHPUnit, I've set up a wrapper that initiates an instance of Apache, then launches the Selenium standalone server, followed by creating the Chrome Remote Webdriver instance at http://localhost:4444/wd/hub. This process ru ...

Encountered a RangeError with NPM due to an invalid triggerAsyncId while trying to install Node.js 12.6.0 on Windows 10

Encountering a challenge after installing Nodejs v12.6.0 on Windows 10 Pro. Node version retrieval works fine, but attempting to check the NPM version returns an error. As a result, I am unable to run my Node application on this machine due to this issue. ...

Having trouble with installing packages through NPM in Node.js?

Whenever I try to install a package, NPM shows me an error like this: [............] /roolbackFailedOptional: verb npm-session .... followed by the final error message: npm ERR! code e503 npm ERR! 503 Service Unavailable: npm ERR! A complete log of th ...

Python Error: ImportError - Selenium Module Missing on Windows

My setup involves using Python 3.6 on Windows10, where I created a virtual environment using the command: python -m venv venv In this environment, I installed several packages including Selenium using: pip install selenium Unfortunately, when I try to ...

"Encountering an issue while installing Express with the Node Package Manager

While trying to install express using the node package manager on my Windows 7 x64 machine, I encountered the following error. I am running cmd as an administrator. Can anyone provide assistance? Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Mic ...

LoadLibraryExW is failing to load the localized MUI version of the program

When adapting applications for Windows localization, you need to provide your application: C:Program FilesContosoGrobber.exe and include various dll files (with a .mui extension) in subfolders that contain localized resources: C:Program FilesContos ...

Steps for creating an npm user:

While attempting to add a user using a Bamboo agent (user=bambooagent) and password (****) on Windows with Puppet, I encountered an error. Can someone assist me in adding a new user with a username and password in a Puppet exec resource? The command I&apos ...

What steps do I need to take in order to execute PHP through the command line?

Looking for guidance on running a PHP class file on the Windows command line. Wondering if any additional installation steps are required or if there are tutorials available. Grateful for any assistance provided! ...

Disconnect occurred during execution of Node.js "hello world" on a Windows 7 operating system

Issue Resolved: Oh no! jimw gets 10000 points for the solution! I've decided to delve into a hobby project using Node.js. Here's where I started: Downloaded and installed Node version 0.6.14 Copied and pasted the classic "hello world" program from the ...

How can I verify the presence of active windows using Python?

Can anyone help me with a Python script? I'm working on a project where I need to determine if any application, other than the one currently in use, is active. If there are multiple open windows, I want to prompt a question asking if I'd like to close them ...

Utilizing TIMING=1 with eslint to evaluate rule efficiency on Windows operating system

On the official ESLint website, there is a section titled Per-rule Performance. It explains that "setting the TIMING environment variable will prompt the display of the ten longest-running rules upon linting completion, showing their individual runn ...

When attempting to install Electron using npm with the -g flag, an error occurred due to the inability to verify

The Issue at Hand I'm facing trouble while attempting to globally install Electron on my system using the command below: npm install electron -g However, I keep running into this frustrating error message: unable to verify the first certificate Here's th ...

Issue with installing discord.js package using npm in Discord JS

C:UsersPCDocumentsot> npm install discord.js npm WARN tar EPERM: operation not permitted, open 'C:UsersPCDocumentsot ode_modules.stagingsetimmediate-ba27c7e7LICENSE.txt' npm WARN tar EPERM: operation not permitted, open ' ...

Get rid of the first line of PowerShell output

While attempting to retrieve the session ID, I encountered an issue where the output displayed the column name instead of the actual ID. When using a match function, the correct value is returned since the output does not include the column names. Is ther ...

Optimal Strategies for Excelling in Node JS Projects

Having recently embarked on Node JS development, I find myself in uncharted territory. As an experienced ASP.NET MVC developer, my usual approach involves implementing the Repository Design Pattern, which includes separate projects for Front-End and Databa ...

Troubleshooting npm faq on Windows 7: How to handle 'spawn ENOENT' errors

After installing node.js on my Windows 7 using the latest installer, I encountered some issues. While I am able to call npm and node from the console (cmd or PowerShell), errors keep popping up. I have noticed many discussions about node.js on windows, bu ...

Ways to verify if the --max-old-space-size setting in the environment variables is functioning as intended

Once you have configured your environment variable as NODE_OPTIONS = --max-old-space-size=8192, how can you verify that it is successfully applied? Is there an npm command available to display the current value? Although I can view the environment variab ...

What is the most effective method to install an npm package on an offline computer, guaranteeing the inclusion of

My current situation requires me to work on a computer network with no internet access. I'm interested in using jsbin for SharePoint/Windows development, as it is highly recommended for its npm installation that ensures all necessary dependencies are prese ...

What are the steps to install an outdated version of Node.js on a Windows computer?

I recently downloaded a package from https://nodejs.org/dist/. Upon attempting to run the Application file Node.exe, I found that it simply opens a terminal and does nothing. After downloading, I struggled to figure out the installation process. The reas ...

What is causing my HTML file path to function on my server, but not when I access the HTML file directly?

My file structure is organized as follows: The main file is located in the folder "HTML-Project/index.html". Within this folder, I have my style.css file and two other folders: one for pictures (HTML-Project/pictures) and another for categories (HTML-Proje ...

Encountered a problem while setting up React app using npm

I've encountered an issue while trying to install a react app using npm. Even after downgrading my npm version to 3, I am still facing errors. My internet connection is strong as well. Thank you in advance for your assistance! https://i.stack.imgur ...

Having trouble getting npm install to work on Windows? It could be due to a potential

Is there anyone who can help me find a solution to this problem? view image description here Attempted solutions: How to stop "npm install" at [..................] | idealTree:regal: sill idealTree buildDeps Npm install not completing. Need help fixing th ...

I encountered an issue with the proxy configuration while working with Npm and Angular, specifically after installing and then uninstalling

Ever since I removed Fiddler, I've been encountering issues with using Angular and npm, specifically related to proxy errors. When attempting an http call with Angular, I receive the following error: [HPM] Error occurred while trying to proxy request ** ...

A step-by-step guide on leveraging jQuery .get() function within a Windows Gadget

I am attempting to extract information from a website and display it in my sidebar gadget using the following code: $.get("http://localhost/index.php", function(data) { $("#result").html("Data Loaded: " + data); }); While this works when I access it ...

The program 'node.exe' could not be initiated as it was not located in the PATH directory

When attempting to execute the following command in my VS Code terminal: $ node -v I encounter the error message: winpty: error: cannot start 'node.exe': Not found in PATH Interestingly, running the same command in the standard Command Prompt ...

Issue encountered while attempting to install the npm package "@tensorflow-models/face-landmarks-detection"

Encountering an issue during the installation of the "@tensorflow-models/face-landmarks-detection" npm package for face landmarks detection using TensorFlow. Despite following the provided installation instructions, errors keep popping up. Here's a rundown ...

Leverage SQLite database in React-Native for Android development on Windows platform

I have been experimenting with a demo app in React-Native that includes the usage of SQLite Database. Following the instructions from this link, I tried running the command npm install --save react-native-sqlite-storage in my project's main repository. H ...

Node.js/NPM issue on Windows machine

I've encountered a situation where all npm commands are getting stuck indefinitely, no matter how long I wait. This issue seems to occur after using npm for a while. Currently, the only solution I have is to restart my PC (yes, resorting to Windows fix!). ...

Issue with Python27 on Windows 8.1 or 10 causing printers to not be displayed

I am facing an issue with my 32-bit Python and win32print installation. When I run the code on Windows 8 or 10, it doesn't display any list of printers but just shows: () https://i.stack.imgur.com/IlDts.png Why is this not working as expected? import wi ...

Having trouble installing librosa on a Windows system

I encountered an issue while trying to install librosa on PyCharm for Windows. The error message I received was: ERROR: Could not build wheels for soxr, which is necessary for installing pyproject.toml-based projects I attempted all three of the followin ...

Steps to remotely access a file stored on a Windows drive from Ubuntu using PHP

In my Windows environment, I had the following command: exec('copy /V "'.$file.'" "'.$dest.'"'); where $file is a REMOTE file in a windows drive such as: \\server\dr1$\folder\file \\serv ...

Executing a Node.js Express project in public mode

Usually, I have no issues running my project on Linux as public. However, I am now trying to run the project on Windows as public. I have set up rules for Windows Firewall, but when I try to open the page 192.168.0.106:3000, I receive an error stating that ...

Issue: Unable to resolve the address 127.0.0.1 - Windows 32-bit operating system - Node version 6.11.2

Launching a server using the script below (arranca_server.sh) # Start Node server export NODE_ENV=development-course export NODE_PORT=9001 export NODE_HOST=127.0.0.1 node server Upon running the script, Node returns: > events.js:160 > ...

Unable to input text in an Angular2 input field

Encountering an issue with users on Windows 7 using IE11 while trying to input information into textboxes or textareas. The drop-downs and checkboxes are functioning properly, but additional fields cannot be filled out even after toggling visibility with t ...

Challenges with Ionic 4 - Module '@angular/core/package.json' not found

Having some trouble with an Ionic 4 project code that works perfectly on my Mac but encounters an error when I try to run it on my Windows 10 PC. The specific error message states "Cannot find module '@angular/core/package.json'". Interestingly, ...

Running multiple node versions at the same time with nvm-windows: A step-by-step guide

Problem: Our challenge is to run and utilize two different node versions - 14 and 12, concurrently for two separate applications in order to support the execution of npm run dev and npm install commands with the correct version as required. What we have at ...

Building VSCode on Windows: A step-by-step guide

I am currently in the process of compiling https://github.com/Microsoft/vscode from the source code, but I am facing some challenges. After successfully running scripts\npm.bat install, I proceeded to run scripts\code.bat and a strange window app ...

Upon running the Python Selenium script, Google Chrome will shut down automatically

I was testing this code and noticed that it runs without any errors, but for some reason it automatically closes Google Chrome after searching for w3schools. from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdri ...

Having difficulty updating my npm package manager for node

When attempting to update my node package manager using the command npm install -g npm on my Windows system, I encountered an error that prevented me from updating successfully. PS C:\Users\LENOVO\Desktop\Toggle-Theme> npm install -g ...

Using Node.js to Send Ctrl+C to a Child Process in a Windows Environment

Hey there, I've been using child_process.spawn to launch a child process that runs a Python script on my Windows machine. The Python script listens for SIGINT to gracefully exit itself, but unfortunately Windows doesn't support signals and Node j ...

Encountering issues with installing the grunt-cli package through npm on Windows

Having trouble installing grunt on my Windows 7 system. I've been attempting to install it using the following command: npm install ‐g grunt‐cli Unfortunately, I keep encountering this error message: C:WindowsSystem32>npm install -g grunt-cli ...

Tools needed for Angular project development

Currently, I am engaged in a project using AngularJS on a Windows 7 computer. My desire is to be able to seamlessly transition between working at the office and working from home or any other location. If I have everything installed in a folder named C:/C ...

Utilizing Powershell to eliminate characters from a string

After pulling a list of IPs from a JSON file, I've been using the code snippet below: $Request = 'https://url-to-json.com/file.json' $AWSIPs = Invoke-WebRequest $Request | ConvertFrom-Json | Select-Object prefix -ExpandProperty prefixes -ExcludeProperty ( ...

The error `npm run server` is not able to recognize the command '.' as an internal or external command

While working on my project from github https://github.com/angular-university/reactive-angular-course, I encountered an issue. Even though I have all the latest dependencies and am running on Windows, I am facing this problem. Interestingly, it works fin ...

Creating a dictionary in Python by parsing a text file and troubleshooting printing errors

After successfully reading a text file, creating dictionaries per line, updating (appending) each line, and storing the json file, I encountered an issue. The problem arises when trying to read the json file, as it fails to do so correctly. Could this be r ...

What is the best way to terminate a running process in node.js?

I'm working on configuring a build system for Node.js in Sublime Text, with the goal of being able to press F7 to execute "node" on the currently open file. However, I've run into an issue where the process remains active indefinitely, causing an error whe ...

Having difficulty installing streamlit via pip through the command prompt

I am encountering an issue while attempting to install streamlit on Windows 10 using pip. After the installation of build dependencies, I receive the following error message: C:\Users\Admin\AppData\Local\Temp\pip-install-c7t4b ...

Is there a way for me to determine if an open port is TCP or HTTP?

Currently, I am using a Windows server (Windows 7), and when I run the netstat -an command, it only indicates whether ports are TCP or UDP. However, I have discovered that node.js differentiates between HTTP ports and TCP ports (example found at the bottom ...

After downloading Node.js version 14.4 from the website and installing it, I discovered that the Command Prompt still registers the older version 8.10

Need some help updating Node.js and npm. I've been using Node.js version 8.10.0 and npm version 3.5.2 for a while, but realized that there are newer versions available. I downloaded the latest Node.js version and added the path to Environment Variable ...

What are the best practices for distributing a Python application in a professional manner?

I am seeking guidance on the proper steps for deploying a desktop python application, specifically generating a trusted executable and installer. Although I am a mechanical engineer, I have been involved in programming for several years. However, as I am ...

Encountering an Issue with Installing KeyStone.Js on Windows 7 64-bit Environment

I'm having issues installing keystone.js via Windows command prompt. The installation process throws errors like the following: npm ERR! [email protected] postinstall: `yodoctor` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the [email prote ...

"Encountering an unexpected error when Dockerizing an Angular App on Win10 Professional: EXPAND-ARCHIVE instruction not

I need to create a docker image for an Angular web application and deploy it on a Windows machine. However, I'm running into an issue when executing the command: docker build -t node . The following exception is thrown: Error response from daemon: Docke ...

How to assign a single value to multiple variables at once using a Windows batch script

I attempted to accomplish the following (refer to build:dev): https://i.stack.imgur.com/qLi2c.png I also tried: set var1=a && set var2=b Unfortunately, none of these methods seemed to work. Can anyone provide guidance on how to achieve this? ...

Managing access permissions for the node_modules directory on macOS, Linux, and Windows operating systems

I've been working on nodeJS applications on my Mac, and to test them I'm using Parallels to run a virtual Windows machine with Windows 10. However, when I run npm install on my Mac, I encounter an "access denied" error for the node_modules folder ...

Authentication with NTLM in PHP with Apache

Is there a way to login to my system using the NTLM protocol that is compatible with multiple platforms? I have discovered the mod_auth_sspi module for Apache, but I require a solution that works for both Windows and Linux environments (both of which have ...

How can I retrieve the CPU ID using Python?

Is there a way to retrieve the processor ID using Python 2.6 on a Windows operating system? I am aware of pycpuid, but I am having trouble compiling it for version 2.6. ...

Factors to keep in mind when it comes to managing packages in operating systems

I'm currently exploring different technologies for an upcoming web development project. One crucial factor to consider is package management. I am leaning towards using NPM or bower, but open to other recommendations. Do specific operating systems (e.g., ...

The excessive length of Windows file paths makes it impossible to install packages with Node npm

Situation Having trouble using gulp and related front-end tools in Windows-based development environments due to long file paths when copying files from nested node_modules folders. Looking for a practical solution to address this issue on Windows without ...

Not receiving connections on localhost port 3000

Our team has successfully created a basic Express Node website https://i.stack.imgur.com/5fwmC.png We attempted to run the app using DEBUG=express_example:* npm start https://i.stack.imgur.com/NI5lR.png We also tried running it with node DEBUG=express_ ...

Powershell is unable to detect NPM modules that have been installed locally in the bin directory

When creating a local NPM project designed to act as an installable NPM CLI command on Windows, I encountered issues with local testing not behaving as expected. To showcase this problem, I have set up this GitHub repository. Take a look at the provided r ...

Simple script for Windows to ensure continuous operation of node

Currently, I have a very basic script in a .bat file to ensure that my node.js server stays running on a Windows machine. : loop npm start goto loop : end Nevertheless, if the server crashes, it fails to restart automatically. While I am aware of more e ...

The system does not acknowledge 'grunt'

I am a beginner when it comes to working with grunt and currently using: Node: 6.9.2 npm: 3.10.9 Operating System: Windows 7 Every time I attempt to install grunt by running the command below: npm install -g grunt-cli An error message pops up saying: ...

I'm a beginner when it comes to Node.js and I'm struggling to get the hang of it

After installing node.js from the website, an error occurs when trying to install npm in the command line with the message "unexpected token: Illegal". How can this issue be resolved? Are there specific step-by-step instructions for installing node.js an ...

Is there a way to create 32-bit binaries on a 64-bit system using npm?

Currently, I am in the process of creating an application that will be distributed using node-webkit. An issue I have encountered is that node-webkit only provides 32-bit binaries for Windows. Although my operating system is Windows 7 Ultimate 64-bit, npm ...

utilizing PM2 on a Windows server with a traditional Azure pipeline configuration

I am currently working on setting up a release pipeline using classic Azure pipelines for my Next.js project deployment on a self-hosted Windows server. I have configured IIS as a redirection server to redirect traffic to the Next.js application. However, ...

What is the best way to create an executable file from a Python package using pyinstaller?

I have developed a Python command line program that is open source and compatible with Python 2.7, Python3+, and works across different platforms. My goal now is to package this program into an executable for my Windows users in a more user-friendly way. ...

A client built using node.js that is equipped with TLS 1.2 compatibility

I need assistance in creating an HTTPS Client that supports TLS 1.2 instead of the default TLS 1.0. Can someone provide guidance on how to enable this feature in my code? var https = require('https'); var util = require('util'); var fs ...

The current directory does not belong to a Cordova project

Upon executing ionic cordova run browser --verbose within the main directory of my Ionic4 project, I encounter the error message "Current working directory is not a Cordova-based project." as shown below. I've observed that the command generates a "www" f ...

How can you run a multi-line query from Python in Postgres using psql on a Windows system?

My goal is to run multiline queries using psql, so I started working on a library function for that purpose. However, I encountered a "Permission denied" error while trying to execute the code. import os import tempfile sql = 'select 1;' with t ...

Command Prompt displaying characters that are not supported

I'm having trouble using Composer because CMD is displaying unsupported characters and symbols. It seems that Composer is attempting to display colors in CMD. How do I stop Composer from showing colors so I can fix this issue? ...

What could be causing my PowerShell to be undefined when running npm run dev?

I am currently working on a Vue project using Vite in Windows 11. Whenever I try to run "npm run dev" with PowerShell (which is vite --open --host), I encounter the following error:https://i.stack.imgur.com/LPSc0.png It seems like the path is showing as & ...

issues encountered when attempting to generate logs in aws S3 bucket with 'winston' and 's3-streamlogger' modules

const winston = require('winston'); var S3StreamLogger = require('s3-streamlogger').S3StreamLogger; var s3_stream = new S3StreamLogger({ bucket: "bucket_name", access_key_id: "access_key_id", secret_access_key: "secret_access_key" }); var log ...